diff --git a/Dockerfile b/Dockerfile index 7e50249..7e39db0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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