diff options
Diffstat (limited to 'docker/code-server/Dockerfile')
-rw-r--r-- | docker/code-server/Dockerfile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docker/code-server/Dockerfile b/docker/code-server/Dockerfile index a5235c2..fe8785d 100644 --- a/docker/code-server/Dockerfile +++ b/docker/code-server/Dockerfile @@ -1,9 +1,9 @@ -FROM alpine:latest +FROM ubuntu:latest -RUN apk add --no-cache alpine-sdk bash libstdc++ libc6-compat python3 curl nodejs npm && npm install -g n -RUN n 16 && npm config set python python3 && npm install --global code-server --unsafe-perm ENV CODE_SERVER_CONFIG="/data/code-server-config.yaml" WORKDIR /root +COPY install-code-server.bash /install-code-server.bash +RUN /install-code-server.bash EXPOSE 8080 VOLUME [ "/data" ] ENTRYPOINT [ "code-server", "--bind-addr", "0.0.0.0:8080" ] |