From 6a569e1d03b65084af235b45d972b8d934b03ad5 Mon Sep 17 00:00:00 2001 From: liuweiqing Date: Sun, 11 Feb 2024 18:37:02 +0800 Subject: [PATCH] ci: dockerfile --- Dockerfile | 3 --- 1 file changed, 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 55e00ba..188d945 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,12 +6,9 @@ WORKDIR /app # 复制 package.json 和 package-lock.json (或 yarn.lock) COPY package*.json ./ -# 如果使用yarn,并有yarn.lock文件,也可以复制 -# COPY package.json yarn.lock ./ # 安装项目依赖 RUN npm install -# 如果使用 yarn,可以用 RUN yarn install 代替 # 复制项目文件到工作目录 COPY . .