Archived
1
0

Dockerfile: Combine two runs

This commit is contained in:
Sandro 2020-02-06 23:05:40 +01:00 committed by GitHub
parent ef8da3864f
commit b38cfa473e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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