aboutsummaryrefslogtreecommitdiff
path: root/docker
diff options
context:
space:
mode:
Diffstat (limited to 'docker')
-rw-r--r--docker/arch-code-server/Dockerfile6
1 files changed, 3 insertions, 3 deletions
diff --git a/docker/arch-code-server/Dockerfile b/docker/arch-code-server/Dockerfile
index 94fd76f..ff1ce98 100644
--- a/docker/arch-code-server/Dockerfile
+++ b/docker/arch-code-server/Dockerfile
@@ -1,8 +1,8 @@
-FROM node:alpine
+FROM ubuntu:latest
-RUN apk add --no-cache alpine-sdk bash libstdc++ libc6-compat && 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" ]
-ENV CODE_SERVER_CONFIG="/data/code-server-config.yaml"
ENTRYPOINT [ "code-server", "--bind-addr", "0.0.0.0:8080" ]