浏览代码

ci: fix missing patches folder in docker images

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

+ 1 - 0
dev/build-arm/Dockerfile

@@ -8,6 +8,7 @@ RUN apk add yarn g++ make cmake python3 --no-cache
 WORKDIR /wiki
 WORKDIR /wiki
 
 
 COPY ./package.json ./package.json
 COPY ./package.json ./package.json
+COPY ./patches ./patches
 
 
 RUN yarn --production --frozen-lockfile --non-interactive --network-timeout 100000
 RUN yarn --production --frozen-lockfile --non-interactive --network-timeout 100000
 RUN yarn patch-package
 RUN yarn patch-package

+ 1 - 0
dev/build/Dockerfile

@@ -9,6 +9,7 @@ WORKDIR /wiki
 
 
 COPY ./client ./client
 COPY ./client ./client
 COPY ./dev ./dev
 COPY ./dev ./dev
+COPY ./patches ./patches
 COPY ./package.json ./package.json
 COPY ./package.json ./package.json
 COPY ./.babelrc ./.babelrc
 COPY ./.babelrc ./.babelrc
 COPY ./.eslintignore ./.eslintignore
 COPY ./.eslintignore ./.eslintignore