File size: 272 Bytes
46f86eb
 
ccea58a
 
46f86eb
 
 
1
2
3
4
5
6
7
8
FROM alpine:latest
RUN apk add --no-cache libgcc libstdc++ ripgrep bash curl git openssh
RUN curl -fsSL https://opencode.ai/install | bash
ENV PATH="/root/.opencode/bin:$PATH"
WORKDIR /workspace
EXPOSE 4096
CMD ["opencode", "serve", "--port", "4096", "--host", "0.0.0.0"]