fix(部署): 保留后端构建依赖
This commit is contained in:
parent
0a0145210d
commit
f4812dc6a2
@ -9,7 +9,7 @@ WORKDIR /app
|
||||
|
||||
# 安装依赖
|
||||
COPY package*.json ./
|
||||
RUN npm install --registry=https://registry.npmmirror.com
|
||||
RUN npm install --include=dev --registry=https://registry.npmmirror.com
|
||||
|
||||
# 复制源代码
|
||||
COPY . .
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user