chore: refactor Dockerfile directory creation and ownership commands
- Change the directory creation and ownership commands in the Dockerfile Signed-off-by: appleboy <appleboy.tw@gmail.com>
This commit is contained in:
parent
7df424cbf1
commit
a9c0fd3bbd
|
@ -23,8 +23,8 @@ RUN addgroup \
|
|||
-G deploy \
|
||||
deploy
|
||||
|
||||
RUN mkdir -p /home/deploy
|
||||
RUN chown deploy:deploy /home/deploy
|
||||
RUN mkdir -p /home/deploy && \
|
||||
chown deploy:deploy /home/deploy
|
||||
|
||||
# deploy:deploy
|
||||
USER 1000:1000
|
||||
|
|
Loading…
Reference in New Issue