Skip to content

Commit 0b2136a

Browse files
authored
Create Dockerfile
1 parent ac7322c commit 0b2136a

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Dockerfile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
FROM coder/code-server:latest
2+
3+
EXPOSE 8080
4+
5+
HEALTHCHECK --interval=10s --timeout=5s --start-period=30s --retries=5 \
6+
CMD curl -f http://localhost:8080/ || exit 1
7+
8+
CMD ["code-server", "--bind-addr", "0.0.0.0:8080", "--auth", "password"]

0 commit comments

Comments
 (0)