mirror of
https://github.com/coder/code-server.git
synced 2026-02-19 18:01:15 +08:00
Update Dockerfile
This commit is contained in:
parent
74764a8a58
commit
2459983af0
@ -1,6 +1,8 @@
|
||||
FROM coder/code-server:latest
|
||||
|
||||
ENV PORT=8080
|
||||
EXPOSE 8080
|
||||
|
||||
CMD ["code-server", "--bind-addr", "0.0.0.0:8080", "--auth", "none"]
|
||||
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"]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user