Skip to content

Commit

Permalink
test(ghcr-example-supply-chain-app): fix missing patch @ionic-native
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
zondervancalvez committed Nov 25, 2024
1 parent 27a24dd commit 7a16672
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion examples/cactus-example-supply-chain-backend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ RUN mkdir -p "${APP}/log/" && \
USER ${APP_USER}
WORKDIR ${APP}

COPY --chown=${APP_USER}:${APP_USER} /.yarn /usr/src/app/.yarn

# 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
Expand All @@ -42,7 +44,7 @@ SHELL ["/bin/bash", "--login", "-i", "-c"]
RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
ARG NPM_PKG_VERSION="latest"
RUN source ~/.bashrc && \
nvm install 18.18.2 && \
nvm install 20.11.1 && \
npm i -g corepack && corepack enable && corepack prepare [email protected] --activate && \
yarn init --yes --private && \
yarn config set nodeLinker node-modules && \
Expand Down

0 comments on commit 7a16672

Please sign in to comment.