fix(ota): 生产 app 挂载宿主 data/ota 为 OTA 包目录 (此前镜像内为空, 线上 OTA 不可用)
Docker Build and Push / build-image (push) Successful in 1m14s
Docker Build and Push / build-image (push) Successful in 1m14s
This commit is contained in:
@@ -54,6 +54,8 @@ services:
|
|||||||
MIHOME_CACHE_DIR: /app/cache
|
MIHOME_CACHE_DIR: /app/cache
|
||||||
volumes:
|
volumes:
|
||||||
- ./data/cache:/app/cache
|
- ./data/cache:/app/cache
|
||||||
|
# OTA 热更包 (CI 构建产物, 由流水线写入宿主 data/ota)
|
||||||
|
- ./data/ota:/app/ota-package
|
||||||
ports:
|
ports:
|
||||||
- "${HOST_PORT:-3001}:3001"
|
- "${HOST_PORT:-3001}:3001"
|
||||||
healthcheck:
|
healthcheck:
|
||||||
|
|||||||
Reference in New Issue
Block a user