Update Dockerfile

This commit is contained in:
AliVSCode 2026-01-07 22:39:18 +03:30 committed by GitHub
parent 2459983af0
commit 7e491119f5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,8 +1,5 @@
FROM coder/code-server:latest
FROM ghcr.io/coder/code-server:latest
EXPOSE 8080
HEALTHCHECK --interval=10s --timeout=5s --start-period=30s --retries=5 \
CMD curl -f http://localhost:8080/ || exit 1
CMD ["code-server", "--bind-addr", "0.0.0.0:8080", "--auth", "password"]
CMD ["code-server", "--bind-addr", "0.0.0.0:8080", "--auth", "none"]