Created
January 10, 2019 06:52
-
-
Save niteshvirani/76eba2daf34d98b352547ec4ef93740f to your computer and use it in GitHub Desktop.
Minimal Dockerfile for spring boot micro-service
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 openjdk | |
| MAINTAINER Nitesh Virani <[email protected]> | |
| ADD target/service-0.0.1-SNAPSHOT.jar app.jar | |
| ENTRYPOINT ["java", "-jar", "/app.jar"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment