Skip to content
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
18 lines (11 sloc) 635 Bytes
FROM maven:3.5-jdk-8 as BUILD
COPY src /usr/src/app/src
COPY pom.xml /usr/src/app
RUN mvn -f /usr/src/app/pom.xml clean package
FROM openliberty/open-liberty:microProfile2-java8-openj9
RUN unzip -d /opt/ol/wlp/usr/ \
&& rm
# alternatively can be downloaded via pom.xml:
COPY liberty/server.xml /config/
COPY --from=BUILD /usr/src/app/target/articles.war /config/dropins/
You can’t perform that action at this time.