8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b75e18d commit c6380beCopy full SHA for c6380be
Dockerfile
@@ -39,13 +39,12 @@ RUN adduser --gecos '' --disabled-password coder && \
39
40
USER coder
41
# We create first instead of just using WORKDIR as when WORKDIR creates, the user is root.
42
-RUN mkdir -p /home/coder/project && \
43
- chmod g+rw /home/coder/project;
+ 66CC RUN mkdir -p /home/coder/project
44
45
WORKDIR /home/coder/project
46
47
# This assures we have a volume mounted even if the user forgot to do bind mount.
48
-# XXX: Workaround for GH-459 and for OpenShift compatibility.
+# So that they do not lose their data if they delete the container.
49
VOLUME [ "/home/coder/project" ]
50
51
COPY --from=0 /src/packages/server/cli-linux-x64 /usr/local/bin/code-server
0 commit comments