浏览代码

Fix: download pnpm in builder step

AH-dark 2 年之前
父节点
当前提交
a4685400e7
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      Dockerfile

+ 1 - 0
Dockerfile

@@ -14,6 +14,7 @@ COPY --from=deps ~/app/node_modules ./node_modules
 COPY . .
 
 # Build
+RUN curl -f https://get.pnpm.io/v6.16.js | node - add --global pnpm
 RUN pnpm run build
 
 FROM nginx:stable-alpine AS runner