gtsoft-snail-job-demo/Dockerfile

14 lines
248 B
Docker
Raw Normal View History

2024-03-11 22:06:28 +08:00
FROM amazoncorretto:17
2024-01-23 13:35:00 +08:00
MAINTAINER xiaowoniu
2023-09-02 17:24:47 +08:00
ADD ./target/easy-retry-example.jar easy-retry-example.jar
#对外暴漏的端口号
EXPOSE 8018
WORKDIR /
#开机启动
ENTRYPOINT ["sh","-c","java -jar $JAVA_OPTS /easy-retry-example.jar $PARAMS"]