Skip to content
This repository has been archived by the owner on Dec 5, 2023. It is now read-only.

Commit

Permalink
Merge pull request #15 from microservices-demo/base-java-image
Browse files Browse the repository at this point in the history
Java base image
  • Loading branch information
pidster authored Mar 3, 2017
2 parents 7dd8d31 + eb29081 commit ca72773
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docker/queue-master/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
FROM java:openjdk-8-alpine
FROM weaveworksdemos/msd-java:latest

WORKDIR /usr/src/app
COPY *.jar ./app.jar

ENTRYPOINT ["java","-Djava.security.egd=file:/dev/urandom","-jar","./app.jar", "--port=80"]
ENV JAVA_OPTS "-Djava.security.egd=file:/dev/urandom"
ENTRYPOINT ["/usr/local/bin/java.sh","-jar","./app.jar", "--port=80"]

0 comments on commit ca72773

Please sign in to comment.