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