Skip to content

Commit 91f0230

Browse files
authored
feat: update Docker configuration to include backend Nginx settings (#219)
* feat: 增加label-studio的k8s部署卸载 * Revert "feat: 增加label-studio的k8s部署卸载" This reverts commit 3e59c33. * feat: update Docker configuration to include backend Nginx settings
1 parent cbed6fb commit 91f0230

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

deployment/docker/datamate/docker-compose.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ services:
4747
- "30000:80" # nodePort → hostPort
4848
volumes:
4949
- frontend_log_volume:/var/log/datamate/frontend
50-
- ./backend.conf:/etc/nginx/conf.d/backend.conf
5150
networks: [ datamate ]
5251
depends_on:
5352
- datamate-backend

scripts/images/frontend/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ RUN if [ -f package-lock.json ]; then npm ci; else npm install; fi && \
1010
FROM nginx:1.29 AS runner
1111

1212
COPY --from=builder /app/dist /opt/frontend
13+
COPY deployment/docker/datamate/backend.conf /etc/nginx/conf.d/backend.conf
1314

1415
RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \
1516
&& rm -f /etc/nginx/conf.d/default.conf

0 commit comments

Comments
 (0)