Dockerfile 289 Bytes
FROM openjdk:11-jre-slim as builder

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

ADD target/project-user-*.jar /app.jar

RUN sh -c 'touch /app.jar'
EXPOSE 8000
EXPOSE 5005

ENTRYPOINT ["java", "-jar","-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005","/app.jar"]