From 82a71052eb3580b0151ae6c0ac66f13a9a48488b Mon Sep 17 00:00:00 2001 From: fit2cloud-chenyw Date: Thu, 9 Dec 2021 18:59:01 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BF=AE=E6=94=B9=E9=95=9C=E5=83=8F?= =?UTF-8?q?=E8=BF=90=E8=A1=8C=E8=84=9A=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index b9b4cd5366..4d7ae78f4a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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"]