FROM openjdk:8-jdk-alpine MAINTAINER Loafle ARG APP_FILENAME="com.loafle.overflow.overflow_server-1.0.0-SNAPSHOT.jar" ADD target/lib /service/lib ADD target/com.loafle.overflow.overflow_server-1.0.0-SNAPSHOT.jar /service/ ENTRYPOINT ["/usr/bin/java", "-jar", "/service/com.loafle.overflow.overflow_server-1.0.0-SNAPSHOT.jar"]