feat: 修改镜像运行脚本

This commit is contained in:
fit2cloud-chenyw 2021-12-09 18:59:01 +08:00
parent 5fafcd610b
commit 82a71052eb

View File

@ -28,4 +28,7 @@ ENV JAVA_OPTIONS=-Dfile.encoding=utf-8
HEALTHCHECK --interval=15s --timeout=5s --retries=20 --start-period=30s CMD curl -f 127.0.0.1:8081
CMD ["/deployments/run-java.sh"]
EXPOSE 8081
ENTRYPOINT java -jar /opt/apps/backend-$IMAGE_TAG.jar
#CMD ["/deployments/run-java.sh"]