Dockerfile 284 Bytes
FROM openjdk:11-jdk-slim as builder

LABEL author="yuluo" \
	email="yuluo829@aliyun.com"

ADD ./project-dispatch/target/project-dispatch-*.jar /app.jar
ADD ./project-dispatch/src/main/resources/data /data

RUN sh -c 'touch /app.jar'
EXPOSE 8011

ENTRYPOINT ["java", "-jar","/app.jar"]