Skip to content

Commit

Permalink
Update Dockerfile_PreBuild_OC
Browse files Browse the repository at this point in the history
  • Loading branch information
karmaking authored Jan 4, 2024
1 parent a827054 commit 7816f25
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/Dockerfile_PreBuild_OC
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
FROM jetty:9.4-jdk11-alpine
# Copy build artifact (.war file) into jetty from 'maven' stage.
COPY /obp-api/target/obp-api-1.*.war /var/lib/jetty/webapps/ROOT.war
COPY .github/jetty-logging.properties /var/lib/jetty/resources/jetty-logging.properties
USER root
RUN chgrp -R 0 /tmp/jetty && chmod -R g+rwX /tmp/jetty
RUN chgrp -R 0 /var/lib/jetty && chmod -R g+rwX /var/lib/jetty
RUN chgrp -R 0 /usr/local/jetty && chmod -R g+rwX /usr/local/jetty
USER jetty
USER jetty

0 comments on commit 7816f25

Please sign in to comment.