diff options
author | crupest <crupest@outlook.com> | 2022-11-29 14:21:52 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2022-11-29 14:21:52 +0800 |
commit | 412a880e7e1d5259ccd5ead7106c53cb446690ef (patch) | |
tree | 08c5a1fc360825becceb9d93417968d6728bbb87 /docker | |
parent | c5864f331d8ff290a7e8255959058c4e19e26f6b (diff) | |
download | crupest-412a880e7e1d5259ccd5ead7106c53cb446690ef.tar.gz crupest-412a880e7e1d5259ccd5ead7106c53cb446690ef.tar.bz2 crupest-412a880e7e1d5259ccd5ead7106c53cb446690ef.zip |
Try to fix code-server. v6.0
Diffstat (limited to 'docker')
-rw-r--r-- | docker/code-server/Dockerfile | 5 | ||||
-rw-r--r-- | docker/crupest-nginx/sites/www/index.html | 2 |
2 files changed, 3 insertions, 4 deletions
diff --git a/docker/code-server/Dockerfile b/docker/code-server/Dockerfile index 17c5c1b..42d295e 100644 --- a/docker/code-server/Dockerfile +++ b/docker/code-server/Dockerfile @@ -1,8 +1,7 @@ -FROM node:16 +FROM debian:latest -RUN npm config set python python3 && npm install --global code-server --unsafe-perm +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 [ "code-server", "--bind-addr", "0.0.0.0:8080" ] diff --git a/docker/crupest-nginx/sites/www/index.html b/docker/crupest-nginx/sites/www/index.html index cc98a54..0497915 100644 --- a/docker/crupest-nginx/sites/www/index.html +++ b/docker/crupest-nginx/sites/www/index.html @@ -24,7 +24,7 @@ <p>Public:</p> <ul> <li><a href="https://blog.crupest.life" target="_blank">https://blog.crupest.life</a>: My blogs in Chinese with <a - href="https://github.com/halo-dev/halo" target="_blank">halo</a>.</li> + href="https://gohugo.io" target="_blank">hugo</a>.</li> <li><a href="https://timeline.crupest.life" target="_blank">https://timeline.crupest.life</a>: My microblogs with my own web app <a href="https://github.com/crupest/Timeline">Timeline</a>.</li> <li><a href="https://github.crupest.life" target="_blank">https://github.crupest.life</a>: Redirect to my github |