Skip to content

Instantly share code, notes, and snippets.

@sairamkrish
Created May 23, 2018 19:55
Show Gist options
  • Save sairamkrish/231d19c31e23be877f7733e8a768a5fd to your computer and use it in GitHub Desktop.
Save sairamkrish/231d19c31e23be877f7733e8a768a5fd to your computer and use it in GitHub Desktop.
FROM openjdk:8
ENV APP_HOME=/usr/app/
WORKDIR $APP_HOME
COPY ./build/libs/* ./app.jar
EXPOSE 8080
CMD ["java","-jar","app.jar"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment