Bläddra i källkod

ci: add patch-package to docker build

Nicolas Giard 1 år sedan
förälder
incheckning
cae50a70d9
2 ändrade filer med 2 tillägg och 0 borttagningar
  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
 COPY ./package.json ./package.json
 
 
 RUN yarn --production --frozen-lockfile --non-interactive --network-timeout 100000
 RUN yarn --production --frozen-lockfile --non-interactive --network-timeout 100000
+RUN yarn patch-package
 
 
 # ===============
 # ===============
 # --- Release ---
 # --- Release ---

+ 1 - 0
dev/build/Dockerfile

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