Commit ca72773d authored by Pid's avatar Pid Committed by GitHub
Browse files

Merge pull request #15 from microservices-demo/base-java-image

Java base image
parents 7dd8d314 eb29081f
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"]
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment