This commit is contained in:
15
Dockerfile
Normal file
15
Dockerfile
Normal file
@ -0,0 +1,15 @@
|
||||
FROM ubuntu
|
||||
|
||||
EXPOSE 8080
|
||||
EXPOSE 22
|
||||
|
||||
USER root
|
||||
WORKDIR /app/code
|
||||
|
||||
VOLUME [ "/mnt/project" ]
|
||||
|
||||
RUN wget https://update.code.visualstudio.com/latest/server-linux-x64-web/stable && \
|
||||
tar zxvf vscode-server-linux-x64-web.tar.gz
|
||||
|
||||
ENTRYPOINT ['/app/code/vscode-server-linux-x64-web/bind/code-server', '--host', '0.0.0.0', '--port', '8080']
|
||||
|
Reference in New Issue
Block a user