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