fix:修改运行端口

This commit is contained in:
2025-07-17 10:50:52 +08:00
parent f4b1d63b9e
commit 47db4786ac
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ WORKDIR /app
COPY target/LPT.jar LPT.jar COPY target/LPT.jar LPT.jar
# 暴露应用运行的端口 # 暴露应用运行的端口
EXPOSE 8081 EXPOSE 5157
# 启动应用 # 启动应用
ENTRYPOINT ["java", "-jar", "LPT.jar"] ENTRYPOINT ["java", "-jar", "LPT.jar"]
Vendored
+2 -2
View File
@@ -3,8 +3,8 @@ pipeline {
environment { environment {
IMAGE_NAME = 'lpt:0.0' IMAGE_NAME = 'lpt:0.0'
CONTAINER_NAME = 'LPT' CONTAINER_NAME = 'LPT'
HOST_PORT = '8081' HOST_PORT = '5157'
CONTAINER_PORT = '8081' CONTAINER_PORT = '5157'
} }
stages { stages {
stage('Build') { stage('Build') {