14 lines
272 B
Docker
14 lines
272 B
Docker
FROM ubuntu:24.04
|
|
|
|
# Install OpenCode
|
|
RUN curl -fsSL https://opencode.ai/install | bash
|
|
|
|
# Copy custom OpenCode configuration
|
|
RUN mkdir -p /root/.config
|
|
COPY ./config_opencode /root/.config/opencode
|
|
|
|
# env var for the mcp server
|
|
ARG MCP_SERVER
|
|
ENV MCP_SERVER=$MCP_SERVER
|
|
|