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