Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
cant-code committed Mar 26, 2024
1 parent 91289f8 commit 1d7e4bf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ RUN adduser \

#Create application dir
RUN mkdir /home/application
RUN mkdir /home/application/files

# Copy the executable from the "build" stage.
COPY ./bin/app /home/application
Expand All @@ -45,6 +46,7 @@ COPY ./database /home/application/database
RUN chown appuser /home/application/app
RUN chmod +x /home/application/app
RUN chown appuser /home/application
RUN chown appuser /home/application/files

USER appuser

Expand Down

0 comments on commit 1d7e4bf

Please sign in to comment.