fix:修改运行端口
This commit is contained in:
+1
-1
@@ -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
@@ -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') {
|
||||||
|
|||||||
Reference in New Issue
Block a user