Last active
December 1, 2019 18:34
-
-
Save msfidelis/6ce5df9f99876f9de7928bfe5d67fc6c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM maven:3.6-jdk-8-alpine AS builder | |
WORKDIR /build | |
COPY . /build | |
RUN mvn clean package | |
FROM openjdk:8-jre-alpine | |
COPY --from=builder /build/target/*.jar /app.jar | |
EXPOSE 8080 | |
ENTRYPOINT ["java","-jar","app.jar", "-Ddebug", "-Xmx128m"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment