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
commit 6a693e7181
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

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