Update Dockerfile

This commit is contained in:
AliVSCode 2026-01-07 21:41:19 +03:30 committed by GitHub
parent db73449f6d
commit 65a4f63e8a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,7 +1,8 @@
FROM coder/code-server:latest
FROM coder/code-server:4.96.2
COPY health-server.js /health-server.js
ENV PORT=8080
EXPOSE 8080
EXPOSE 8080 3000
CMD sh -c "node /health-server.js & code-server --bind-addr 0.0.0.0:8080 --auth password"
CMD ["code-server", \
"--bind-addr", "0.0.0.0:8080", \
"--auth", "none"]