Skip to content

Commit

Permalink
Adjust Docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
perdian committed Apr 6, 2020
1 parent b2a4709 commit f3dc07b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ FROM openjdk:13-slim

VOLUME /var/flightlog/database/

COPY target/flightlog.war app.war
COPY target/flightlog.war /var/flightlog/flightlog.war

ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom","-XX:+UnlockExperimentalVMOptions","-jar","/app.war"]
CMD ["java", "-Djava.security.egd=file:/dev/./urandom", "-XX:+UnlockExperimentalVMOptions", "-jar", "/var/flightlog/flightlog.war"]

0 comments on commit f3dc07b

Please sign in to comment.