From 47db4786ac2f5a034e88306975a99f8b8f44006b Mon Sep 17 00:00:00 2001 From: cat_shark <1716967236@qq.com> Date: Thu, 17 Jul 2025 10:50:52 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9A=E4=BF=AE=E6=94=B9=E8=BF=90?= =?UTF-8?q?=E8=A1=8C=E7=AB=AF=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 2 +- Jenkinsfile | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5c440ce..dfa3965 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,7 +8,7 @@ WORKDIR /app COPY target/LPT.jar LPT.jar # 暴露应用运行的端口 -EXPOSE 8081 +EXPOSE 5157 # 启动应用 ENTRYPOINT ["java", "-jar", "LPT.jar"] diff --git a/Jenkinsfile b/Jenkinsfile index b5f47ec..ca959aa 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -3,8 +3,8 @@ pipeline { environment { IMAGE_NAME = 'lpt:0.0' CONTAINER_NAME = 'LPT' - HOST_PORT = '8081' - CONTAINER_PORT = '8081' + HOST_PORT = '5157' + CONTAINER_PORT = '5157' } stages { stage('Build') {