Skip to content

Commit

Permalink
chore: refactor Dockerfile directory creation and ownership commands
Browse files Browse the repository at this point in the history
- Change the directory creation and ownership commands in the Dockerfile

Signed-off-by: appleboy <[email protected]>
  • Loading branch information
appleboy committed Dec 24, 2023
1 parent 7df424c commit a9c0fd3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a9c0fd3

Please sign in to comment.