Commit 43ff9819 authored by Joseph Walton-Rivers's avatar Joseph Walton-Rivers

work on docker-based builder

parent 1aa1d466
FROM maven:3-jdk-8-slim as builder
WORKDIR /root/
ADD src/ .
ADD pom.xml .
RUN mvn -B clean package
FROM openjdk:8-jdk-slim
WORKDIR /root/
COPY --from=builder /root/target/builder-jar-with-dependencies.jar .
RUN mkdir -p /home/webpigeon
CMD ["java", "-verbose:class", "-jar", "./builder-jar-with-dependencies.jar"]
......@@ -29,8 +29,10 @@
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment