Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@garystafford
Created September 24, 2018 03:57
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 garystafford/9088325bd0457f5b6fe9cd7d15542408 to your computer and use it in GitHub Desktop.
Save garystafford/9088325bd0457f5b6fe9cd7d15542408 to your computer and use it in GitHub Desktop.
FROM openjdk:10.0.2-13-jdk-slim
LABEL maintainer="Gary A. Stafford <garystafford@rochester.rr.com>"
ENV REFRESHED_AT 2018-09-08
EXPOSE 8080
WORKDIR /tmp
COPY /build/libs/*.jar app.jar
CMD ["java", "-jar", "-Djava.security.egd=file:/dev/./urandom", "-Dspring.profiles.active=gcp", "app.jar"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment