mirror of
https://github.com/OpenBankProject/OBP-API.git
synced 2026-02-06 18:46:46 +00:00
add logback.xml to Dockerfile
This commit is contained in:
parent
a96c8deb5d
commit
f385a8a71e
2
.github/Dockerfile_PreBuild_OC
vendored
2
.github/Dockerfile_PreBuild_OC
vendored
@ -1,7 +1,7 @@
|
||||
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
|
||||
RUN cd .github && jar uvf root.war WEB-INF/classes/logback.xml
|
||||
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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user