Last active
December 1, 2019 18:57
-
-
Save msfidelis/04801f825218f2e0e2d6155943ad655d 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 | |
| WORKDIR /build | |
| COPY . /build | |
| RUN mvn clean package | |
| RUN mv /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