diff options
-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 |