Fix Dockerfile deployments

Signed-off-by: Billy Brawner <billy@wbrawner.com>
This commit is contained in:
Billy Brawner 2019-09-24 09:33:21 -07:00
parent 591cf9d4fe
commit 8f1cb25966

View file

@ -13,7 +13,7 @@ RUN /home/maven/src/mvnw -DskipTests package
FROM openjdk:8-jdk-slim
EXPOSE 8080
COPY --from=builder /home/maven/src/target/budget-server-0.0.1-SNAPSHOT.jar budget-server.jar
ENTRYPOINT ["/usr/local/openjdk-8/bin/java", "-Xmx3g", "-jar", "/budget-server.jar"]
COPY --from=builder /home/maven/src/target/budget-api.jar budget-api.jar
ENTRYPOINT ["/usr/local/openjdk-8/bin/java", "-Xmx3g", "-jar", "/budget-api.jar"]