From 32e29674ab6d538f8b9e044cc6c4553892c09d47 Mon Sep 17 00:00:00 2001 From: Your Name Date: Fri, 17 Apr 2026 21:56:49 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9A=E6=9B=B4=E6=96=B0Dockerfile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 24fcb42..1747bec 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,9 @@ FROM node:20-alpine AS builder WORKDIR /app -COPY package*.json ./ -RUN npm ci +COPY package*.json yarn.lock ./ +RUN yarn install --frozen-lockfile COPY . . -RUN npm run build +RUN yarn build FROM nginx:alpine COPY --from=builder /app/dist /usr/share/nginx/html