From 13e97fc5dba526550d5b76cb5e184b5a4537e607 Mon Sep 17 00:00:00 2001 From: devttl Date: Tue, 24 Sep 2024 14:43:56 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9Dockerfile=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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