crusade-tracker/crusadetracker.dockerfile
2021-01-18 15:27:50 -05:00

7 lines
214 B
Docker

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"]