Skip to content

Instantly share code, notes, and snippets.

@chathurangat
Last active March 2, 2018 18:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chathurangat/87ae6928ea131d09aacfde1cfaf305bb to your computer and use it in GitHub Desktop.
Save chathurangat/87ae6928ea131d09aacfde1cfaf305bb to your computer and use it in GitHub Desktop.
FROM java:8
LABEL maintainer=“chathuranga.t@gmail.com”
WORKDIR /app
COPY target/spring-boot-rest-api-docker-0.0.1-SNAPSHOT.jar /app/spring-boot-app.jar
ENTRYPOINT ["java","-jar","spring-boot-app.jar"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment