Merge pull request #1424 from dataease/pr@dev@fix_image_sh

feat: 修改镜像运行脚本
This commit is contained in:
fit2cloud-chenyw 2021-12-09 19:00:08 +08:00 committed by GitHub
commit 7353b40ae7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -34,4 +34,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 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"]