gtsoft-snail-job-demo/Dockerfile

14 lines
245 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
2024-05-15 23:39:22 +08:00
ADD ./target/snail-job-example.jar snail-job-example.jar
2023-09-02 17:24:47 +08:00
#对外暴漏的端口号
EXPOSE 8018
WORKDIR /
#开机启动
2024-05-15 23:39:22 +08:00
ENTRYPOINT ["sh","-c","java -jar $JAVA_OPTS /snail-job-example.jar $PARAMS"]
2023-09-02 17:24:47 +08:00