Dockerfile 230 Bytes BlameHistoryPermalink Edit 1 2 3 4 5 6 7 8 9 10 11 FROM openjdk:11-jre-slim as builder LABEL author="yuluo" \ email="yuluo829@aliyun.com" ADD ./project-gateway/target/project-gateway-*.jar /app.jar RUN sh -c 'touch /app.jar' EXPOSE 30010 ENTRYPOINT ["java", "-jar","/app.jar"]