From 86fa27494b1a61df90c23cf5f03757094d5ec108 Mon Sep 17 00:00:00 2001 From: bado Date: Mon, 25 Nov 2024 13:11:25 +0800 Subject: [PATCH] test(ghcr-example-supply-chain-app): fix missing patch @ionic-native Primary Changes ---------------- 1. Updated the NVM version to 20.11.1 and added the necessary yarn patch path to build the image Fixes #3601 Signed-off-by: bado --- examples/cactus-example-supply-chain-backend/Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/cactus-example-supply-chain-backend/Dockerfile b/examples/cactus-example-supply-chain-backend/Dockerfile index 9fc3bc746f..1083a339dc 100644 --- a/examples/cactus-example-supply-chain-backend/Dockerfile +++ b/examples/cactus-example-supply-chain-backend/Dockerfile @@ -33,6 +33,8 @@ RUN mkdir -p "${APP}/log/" && \ USER ${APP_USER} WORKDIR ${APP} +COPY --chown=${APP_USER}:${APP_USER} /.yarn/patches/@ionic-native-* /usr/src/app/.yarn/patches/ + # COPY --chown=${APP_USER}:${APP_USER} examples/cactus-example-supply-chain-backend/tpl.package.json /usr/src/app/package.json # RUN touch /usr/src/app/package.json