From 3ba13dd6f385b1c9585bf986fa7e1e6cdc96d1e8 Mon Sep 17 00:00:00 2001 From: Wenjie Zhang Date: Mon, 28 Jul 2025 19:07:58 +0800 Subject: [PATCH] =?UTF-8?q?fix(docker-compose):=20=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E5=BD=93=20node=5Fmodules=20=E4=B8=BA=E7=A9=BA=E7=9A=84?= =?UTF-8?q?=E6=97=B6=E5=80=99=EF=BC=8C=E6=97=A0=E6=B3=95=E6=8C=82=E5=9C=A8?= =?UTF-8?q?=20volumes=20=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker-compose.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index c5cf26cf..3676d8ee 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -57,8 +57,10 @@ services: image: yuxi-web:0.2.0.dev container_name: web-dev volumes: - - ./web:/app - - /app/node_modules + - ./web/src:/app/src + - ./web/public:/app/public + - ./web/index.html:/app/index.html + - ./web/vite.config.js:/app/vite.config.js ports: - "5173:5173" depends_on: