-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
32 lines (24 loc) · 763 Bytes
/
Dockerfile
File metadata and controls
32 lines (24 loc) · 763 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
FROM node:24-bookworm-slim
ENV NODE_ENV=production
ENV NPM_CONFIG_UPDATE_NOTIFIER=false
ENV NPM_CONFIG_FUND=false
ENV NPM_CONFIG_AUDIT=false
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
bash \
ca-certificates \
curl \
git \
&& rm -rf /var/lib/apt/lists/*
RUN npm install -g \
opencode-ai@latest \
typescript-language-server@latest \
typescript@latest \
&& npm cache clean --force
RUN curl -fsSL https://raw.githubusercontent.com/render-oss/render-opencode-plugin/main/install.sh \
| bash -s -- --force
WORKDIR /workspace
COPY start.sh /usr/local/bin/start-opencode
RUN chmod +x /usr/local/bin/start-opencode
EXPOSE 10000
CMD ["/usr/local/bin/start-opencode"]