Skip to content

Commit

Permalink
Create Dockerfile_PreBuild_OC
Browse files Browse the repository at this point in the history
  • Loading branch information
karmaking authored Nov 24, 2023
1 parent 2c26617 commit 6821ded
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/Dockerfile_PreBuild_OC
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
FROM jetty:9.4.49-jre11-alpine

# Copy OBP source code
# Copy build artifact (.war file) into jetty from 'maven' stage.
COPY /target/API_Explorer-1.0.war /var/lib/jetty/webapps/ROOT.war
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

0 comments on commit 6821ded

Please sign in to comment.