#Dockerfile #base image FROM openjdk:11-jre-slim ADD target/modocot-backend.jar app.jar # Prepare environment. # Create needed folders RUN mkdir /modocot && \ mkdir /modocot/data && \ mkdir /modocot/config VOLUME /modocot/data env SPRING_CONFIG_ADDITIONAL_LOCATION "file:/home/modocot/config/" ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom","-jar","/app.jar"]