修改Dockerfile文件
This commit is contained in:
parent
b000d13c93
commit
13e97fc5db
@ -8,7 +8,7 @@ WORKDIR /app
|
||||
COPY . .
|
||||
|
||||
# 安装 Yarn
|
||||
RUN npm install -g yarn && yarn install && yarn build
|
||||
RUN npm install -g yarn --force && yarn install --force && yarn build
|
||||
|
||||
# 使用Nginx作为基础镜像
|
||||
FROM nginx:alpine as builder
|
||||
|
Loading…
Reference in New Issue
Block a user