Merge pull request #1346 from SuperSandro2000/patch-1

Dockerfile: Combine two runs
This commit is contained in:
Anmol Sethi
2020-02-06 16:10:50 -06:00
committed by GitHub

View File

@@ -42,8 +42,8 @@ RUN adduser --gecos '' --disabled-password coder && \
USER coder
# Create first so these directories will be owned by coder instead of root
# (workdir and mounting appear to both default to root).
RUN mkdir -p /home/coder/project
RUN mkdir -p /home/coder/.local/share/code-server
RUN mkdir -p /home/coder/project \
&& mkdir -p /home/coder/.local/share/code-server
WORKDIR /home/coder/project