Skip to content

Instantly share code, notes, and snippets.

@hudsonmendes
Created April 3, 2017 19:08
Show Gist options
  • Save hudsonmendes/6d39243604bedf1435bc16ed385a56c2 to your computer and use it in GitHub Desktop.
Save hudsonmendes/6d39243604bedf1435bc16ed385a56c2 to your computer and use it in GitHub Desktop.
Dockerfile
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