增加预构建模式,在Jenkins本机构建镜像,把镜像传到对应服务器
This commit is contained in:
1 parent
3f5b6292ba
commit
a77b61fb9f
3 files changed
+123
-25
No files matched your search
@@ -3,6 +3,7 @@ services:
|
||||
# hxops-backend: Flask 后端服务 (端口: 5000)
|
||||
# ==============================================================================
|
||||
hxops-backend:
|
||||
image: ${BACKEND_IMAGE:-hxops-backend:local}
|
||||
build:
|
||||
context: ./backend
|
||||
dockerfile: Dockerfile
|
||||
@@ -32,6 +33,7 @@ services:
|
||||
# hxops-frontend: Vue 前端静态资源 + Nginx 反向代理 (端口: 80)
|
||||
# ==============================================================================
|
||||
hxops-frontend:
|
||||
image: ${FRONTEND_IMAGE:-hxops-frontend:local}
|
||||
build:
|
||||
context: ./frontend
|
||||
dockerfile: Dockerfile
|
||||
|
||||
Reference in new issue
Block a user