Skip to content

Commit

Permalink
issue #251 Dockerfile: Change WAR-file owner to 1001
Browse files Browse the repository at this point in the history
  • Loading branch information
wajda committed Sep 11, 2023
1 parent 6573fb1 commit 2736448
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion deployment/web/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,6 @@ EXPOSE 8080
EXPOSE 8009

RUN rm -rf /usr/local/tomcat/webapps/*
COPY target/*.war /usr/local/tomcat/webapps/ROOT.war
RUN chown -R 1001:1001 /usr/local/tomcat
USER 1001
COPY --chown=1001 target/*.war /usr/local/tomcat/webapps/ROOT.war

0 comments on commit 2736448

Please sign in to comment.