Sfoglia il codice sorgente

📦 build(docker): add pnpm-lock.yaml to docker build context

- include pnpm-lock.yaml in docker build to ensure consistent dependency installation
- improve build reproducibility by using locked dependency versions
yourname 3 mesi fa
parent
commit
89f65ab8fc
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      Dockerfile

+ 1 - 1
Dockerfile

@@ -19,7 +19,7 @@ RUN npm install -g pnpm@10.18.3
 WORKDIR /app
 
 # 复制根目录配置文件
-COPY package.json pnpm-workspace.yaml .npmrc ./
+COPY package.json pnpm-workspace.yaml pnpm-lock.yaml .npmrc ./
 
 # 复制各项目 package.json
 COPY web/package.json ./web/