FROM openjdk:8-jdk-alpine COPY build/libs/*-SNAPSHOT.jar urls_controller.jar EXPOSE 1880 ENTRYPOINT ["java", "-Xms1024m", "-Xmx6144m", "-jar", "/urls_controller.jar", "--spring.config.location=file:///mnt/config/application.yml"]