Dockerfile: Combine two runs
This commit is contained in:
parent
ef8da3864f
commit
b38cfa473e
@ -42,8 +42,8 @@ RUN adduser --gecos '' --disabled-password coder && \
|
|||||||
USER coder
|
USER coder
|
||||||
# Create first so these directories will be owned by coder instead of root
|
# Create first so these directories will be owned by coder instead of root
|
||||||
# (workdir and mounting appear to both default to root).
|
# (workdir and mounting appear to both default to root).
|
||||||
RUN mkdir -p /home/coder/project
|
RUN mkdir -p /home/coder/project \
|
||||||
RUN mkdir -p /home/coder/.local/share/code-server
|
&& mkdir -p /home/coder/.local/share/code-server
|
||||||
|
|
||||||
WORKDIR /home/coder/project
|
WORKDIR /home/coder/project
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user