更新
This commit is contained in:
@@ -15,9 +15,9 @@ services:
|
|||||||
|
|
||||||
frontend:
|
frontend:
|
||||||
build: ./frontend
|
build: ./frontend
|
||||||
volumes:
|
# volumes:
|
||||||
- ./frontend:/app
|
# - ./frontend:/app
|
||||||
- /app/node_modules
|
# - /app/node_modules
|
||||||
ports:
|
ports:
|
||||||
- "15173:15173"
|
- "15173:15173"
|
||||||
environment:
|
environment:
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ WORKDIR /app
|
|||||||
|
|
||||||
# Install dependencies
|
# Install dependencies
|
||||||
COPY package.json package-lock.json* ./
|
COPY package.json package-lock.json* ./
|
||||||
RUN npm install
|
RUN npm install --registry=https://registry.npmmirror.com
|
||||||
|
|
||||||
# 复制项目文件
|
# 复制项目文件
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|||||||
Reference in New Issue
Block a user