bet43456sg096
commited on
Commit
•
2a4a1d9
1
Parent(s):
e0c1865
Changes
Browse files- Dockerfile +3 -4
Dockerfile
CHANGED
@@ -3,8 +3,8 @@
|
|
3 |
FROM gitpod/openvscode-server:latest
|
4 |
USER root
|
5 |
WORKDIR /home/openvscode-server
|
6 |
-
RUN sudo mkdir /home/
|
7 |
-
RUN sudo chmod 777 /home/
|
8 |
|
9 |
#GENERAL PURPOSE PACKAGES
|
10 |
RUN apt-get update -y && apt-get upgrade -y && apt-get install -y sudo && apt-get install -y python3-pip && pip3 install --upgrade pip
|
@@ -246,6 +246,5 @@ USER root
|
|
246 |
|
247 |
#@ 7860 PORT EXPOSE
|
248 |
EXPOSE 7860
|
249 |
-
|
250 |
#RUNNING SERVER
|
251 |
-
ENTRYPOINT [ "/bin/sh", "-c", "exec ${OPENVSCODE_SERVER_ROOT}/bin/openvscode-server --host 0.0.0.0 --port 7860 --without-connection-token --default-folder \"/home/
|
|
|
3 |
FROM gitpod/openvscode-server:latest
|
4 |
USER root
|
5 |
WORKDIR /home/openvscode-server
|
6 |
+
RUN sudo mkdir /home/codeplace
|
7 |
+
RUN sudo chmod 777 /home/codeplace
|
8 |
|
9 |
#GENERAL PURPOSE PACKAGES
|
10 |
RUN apt-get update -y && apt-get upgrade -y && apt-get install -y sudo && apt-get install -y python3-pip && pip3 install --upgrade pip
|
|
|
246 |
|
247 |
#@ 7860 PORT EXPOSE
|
248 |
EXPOSE 7860
|
|
|
249 |
#RUNNING SERVER
|
250 |
+
ENTRYPOINT [ "/bin/sh", "-c", "exec ${OPENVSCODE_SERVER_ROOT}/bin/openvscode-server --host 0.0.0.0 --port 7860 --without-connection-token --default-folder \"/home/codeplace\" --default-workspace \"/home/codestation\" \"${@}\"", "--" ]
|