Created
April 3, 2017 19:08
-
-
Save hudsonmendes/6d39243604bedf1435bc16ed385a56c2 to your computer and use it in GitHub Desktop.
Dockerfile
This file contains 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 frolvlad/alpine-oraclejdk8:slim | |
ENV MONGO_URL mongodb://localhost/belfastjug_sample_01 | |
EXPOSE 8080 | |
RUN mkdir -p /app/ | |
ADD build/libs/belfastjug-sample-01-0.0.1-SNAPSHOT.jar /app/belfastjug-sample-01.jar | |
ENTRYPOINT ["java", "-jar", "/app/belfastjug-sample-01.jar"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment