Dockerfile 408 Bytes
FROM openjdk:11 as builder

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

ENV TZ=Asia/Shanghai
RUN echo -e "${TZ}" > /etc/timezone && ln -sf /usr/share/zoneinfo/${TZ} /etc/localtime

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

RUN sh -c 'touch /app.jar'
EXPOSE 8013
EXPOSE 62001

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