FROM java:openjdk-8-jdk-alpine WORKDIR /code # Adding target ADD target /code/target CMD ["java", "-jar", "target/worker-jar-with-dependencies.jar"]