Skip to content

Commit

Permalink
chore: mkdir and chown on one layer
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthewL246 committed Jul 1, 2024
1 parent d5395eb commit 4f0c4e7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ WORKDIR ${app_dir}

RUN addgroup go && adduser -D -G go go

RUN mkdir -p ${app_dir}/log
RUN chown go:go ${app_dir}/log
RUN mkdir -p ${app_dir}/log && chown go:go ${app_dir}/log

USER go

Expand Down

0 comments on commit 4f0c4e7

Please sign in to comment.