gtsoft-snail-job-demo/Dockerfile

14 lines
251 B
Docker
Raw Normal View History

2023-09-02 17:24:47 +08:00
FROM openjdk:8-jdk-alpine
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"]