mirror of
https://github.com/OpenBankProject/API-Explorer.git
synced 2026-02-06 10:47:23 +00:00
11 lines
392 B
Plaintext
11 lines
392 B
Plaintext
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
|