mirror of
https://git.cloudron.io/dswd/vscode-app.git
synced 2025-09-02 13:25:36 +00:00
Initial version
This commit is contained in:
21
Dockerfile
Normal file
21
Dockerfile
Normal file
@@ -0,0 +1,21 @@
|
||||
FROM cloudron/base:3.0.0
|
||||
MAINTAINER Dennis Schwerdel <schwerdel@googlemail.com>
|
||||
|
||||
ENV VERSION=3.9.3
|
||||
|
||||
RUN mkdir -p /app/code
|
||||
|
||||
WORKDIR /app/code
|
||||
|
||||
RUN curl -fsSL https://code-server.dev/install.sh | sh -s -- --version ${VERSION}
|
||||
ADD config.yaml /app/code/default-config.yaml
|
||||
|
||||
RUN mv /home/cloudron /app/code/default-home \
|
||||
&& ln -s /app/data /home/cloudron
|
||||
WORKDIR /app/data
|
||||
ENV HOME=/app/data
|
||||
|
||||
ADD start.sh /app/code/start.sh
|
||||
|
||||
CMD [ "/app/code/start.sh" ]
|
||||
|
Reference in New Issue
Block a user