浏览代码

ci: add patch-package to docker build

Nicolas Giard 1 年之前
父节点
当前提交
cae50a70d9
共有 2 个文件被更改,包括 2 次插入0 次删除
  1. 1 0
      dev/build-arm/Dockerfile
  2. 1 0
      dev/build/Dockerfile

+ 1 - 0
dev/build-arm/Dockerfile

@@ -10,6 +10,7 @@ WORKDIR /wiki
 COPY ./package.json ./package.json
 
 RUN yarn --production --frozen-lockfile --non-interactive --network-timeout 100000
+RUN yarn patch-package
 
 # ===============
 # --- Release ---

+ 1 - 0
dev/build/Dockerfile

@@ -19,6 +19,7 @@ RUN yarn --frozen-lockfile --non-interactive
 RUN yarn build
 RUN rm -rf /wiki/node_modules
 RUN yarn --production --frozen-lockfile --non-interactive
+RUN yarn patch-package
 
 # ===============
 # --- Release ---