This commit is contained in:
jeremygan2021
2026-02-10 21:56:17 +08:00
parent ee88c5b3e1
commit 8a3fd6441e
2 changed files with 4 additions and 4 deletions

View File

@@ -15,9 +15,9 @@ services:
frontend:
build: ./frontend
volumes:
- ./frontend:/app
- /app/node_modules
# volumes:
# - ./frontend:/app
# - /app/node_modules
ports:
- "15173:15173"
environment:

View File

@@ -6,7 +6,7 @@ WORKDIR /app
# Install dependencies
COPY package.json package-lock.json* ./
RUN npm install
RUN npm install --registry=https://registry.npmmirror.com
# 复制项目文件
COPY . .