crusade-tracker/crusadetracker.dockerfile

7 lines
214 B
Plaintext
Raw Permalink Normal View History

2021-01-18 20:27:50 +00:00
FROM openjdk:8-jdk-alpine
VOLUME /tmp
ARG JAR_FILE=crusadetracker-0.0.1-SNAPSHOT.jar
COPY ./target/${JAR_FILE} app.jar
EXPOSE 8080
ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/./urandom", "-jar", "/app.jar"]