Docker 支持后续新版web后台

This commit is contained in:
TOM88812
2025-02-17 17:26:24 +08:00
parent 325312327c
commit ea4c054d99
3 changed files with 15 additions and 0 deletions
+1
View File
@@ -143,3 +143,4 @@ tmp
.config.yaml
.secrets.yaml
.private_config.yaml
docker-compose.yml
+2
View File
@@ -8,6 +8,8 @@ RUN npm config set registry https://registry.npmmirror.com
COPY ZhiKongTaiWeb/package*.json ./
# 安装axios依赖
RUN npm install axios
RUN npm install
COPY ZhiKongTaiWeb .
+12
View File
@@ -0,0 +1,12 @@
services:
xiaozhi-esp32-server:
image: ccr.ccs.tencentyun.com/xinnan/xiaozhi-esp32-server:latest
container_name: xiaozhi-esp32-server
restart: always
#security_opt:
# - seccomp:unconfined
ports:
- "8000:8000"
- "8002:8002"
volumes:
- ./.config.yaml:/opt/xiaozhi-esp32-server/config.yaml