Create Dockerfile

This commit is contained in:
AliVSCode 2026-01-07 21:31:20 +03:30 committed by GitHub
parent ac7322ce56
commit 0b2136af8d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

8
Dockerfile Normal file
View 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"]