feat: update Docker configuration to include backend Nginx settings (#219)

* feat: 增加label-studio的k8s部署卸载

* Revert "feat: 增加label-studio的k8s部署卸载"

This reverts commit 3e59c33e1de7d2c8d45a1f3d5fb53112a20a24a6.

* feat: update Docker configuration to include backend Nginx settings
This commit is contained in:
Dallas98
2025-12-31 16:44:21 +08:00
committed by GitHub
parent cbed6fbcd7
commit 91f02300d7
2 changed files with 1 additions and 1 deletions

View File

@@ -47,7 +47,6 @@ services:
- "30000:80" # nodePort → hostPort
volumes:
- frontend_log_volume:/var/log/datamate/frontend
- ./backend.conf:/etc/nginx/conf.d/backend.conf
networks: [ datamate ]
depends_on:
- datamate-backend

View File

@@ -10,6 +10,7 @@ RUN if [ -f package-lock.json ]; then npm ci; else npm install; fi && \
FROM nginx:1.29 AS runner
COPY --from=builder /app/dist /opt/frontend
COPY deployment/docker/datamate/backend.conf /etc/nginx/conf.d/backend.conf
RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \
&& rm -f /etc/nginx/conf.d/default.conf