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 | e15843655faf6b02605d5c34940197efb4121a95 (patch) | |
tree | 158af4bd5ce2bfc272c9441050b494be3f7f980d /docker/code-server | |
parent | 7897d842d12efcc6f08e374ebf830d41fc92bf7b (diff) | |
download | crupest-e15843655faf6b02605d5c34940197efb4121a95.tar.gz crupest-e15843655faf6b02605d5c34940197efb4121a95.tar.bz2 crupest-e15843655faf6b02605d5c34940197efb4121a95.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" ] |