mirror of
https://github.com/danog/code-server.git
synced 2024-12-12 09:19:50 +01:00
Merge pull request #1346 from SuperSandro2000/patch-1
Dockerfile: Combine two runs
This commit is contained in:
commit
6a693e7181
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user