diff options
author | crupest <crupest@outlook.com> | 2022-11-29 13:01:03 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2022-11-29 13:01:03 +0800 |
commit | de64c8f99c15ea7a52975629a01bb0705927cb92 (patch) | |
tree | 158af4bd5ce2bfc272c9441050b494be3f7f980d /docker/code-server | |
parent | af38b4d04edc3aba35af7f3fce03cbc6ab9ce62f (diff) | |
download | crupest-de64c8f99c15ea7a52975629a01bb0705927cb92.tar.gz crupest-de64c8f99c15ea7a52975629a01bb0705927cb92.tar.bz2 crupest-de64c8f99c15ea7a52975629a01bb0705927cb92.zip |
Try to fix code-server.
Diffstat (limited to 'docker/code-server')
-rw-r--r-- | docker/code-server/Dockerfile | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/docker/code-server/Dockerfile b/docker/code-server/Dockerfile new file mode 100644 index 0000000..d7984d6 --- /dev/null +++ b/docker/code-server/Dockerfile @@ -0,0 +1,8 @@ +FROM ubuntu:latest + +RUN curl -fsSL https://code-server.dev/install.sh | sh +ENV CODE_SERVER_CONFIG="/data/code-server-config.yaml" +WORKDIR /root +EXPOSE 8080 +VOLUME [ "/data" ] +ENTRYPOINT [ "/usr/bin/code-server", "--bind-addr", "0.0.0.0:8080" ] |