gtsoft-snail-job-server/example/Dockerfile

14 lines
259 B
Docker
Raw Normal View History

2023-01-14 21:02:18 +08:00
FROM openjdk:8-jdk-alpine
MAINTAINER www.byteblogs.com
ADD ./target/easy-retry-example.jar easy-retry-example.jar
2023-01-14 21:02:18 +08:00
#对外暴漏的端口号
EXPOSE 8088
WORKDIR /
#开机启动
ENTRYPOINT ["sh","-c","java -jar $JAVA_OPTS /easy-retry-example.jar $PARAMS"]
2023-01-14 21:02:18 +08:00