mirror of
https://github.com/coder/code-server.git
synced 2026-02-19 18:01:15 +08:00
Create Dockerfile
This commit is contained in:
parent
ac7322ce56
commit
0b2136af8d
8
Dockerfile
Normal file
8
Dockerfile
Normal file
@ -0,0 +1,8 @@
|
||||
FROM 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"]
|
||||
Loading…
x
Reference in New Issue
Block a user