From b3a8b984ea225389fd1c2d590b0702575ab66e0b Mon Sep 17 00:00:00 2001 From: alvarof2 Date: Wed, 25 Oct 2023 19:06:45 +0200 Subject: [PATCH] Fix dockerfiles signer loadtest --- dockerfiles/phone-number-privacy/Dockerfile-loadtest | 4 +++- dockerfiles/phone-number-privacy/Dockerfile-signer | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/dockerfiles/phone-number-privacy/Dockerfile-loadtest b/dockerfiles/phone-number-privacy/Dockerfile-loadtest index 669c82a1c..3cd9a23c7 100644 --- a/dockerfiles/phone-number-privacy/Dockerfile-loadtest +++ b/dockerfiles/phone-number-privacy/Dockerfile-loadtest @@ -9,6 +9,7 @@ COPY packages/phone-number-privacy/monitor packages/phone-number-privacy/monitor COPY packages/phone-number-privacy/common packages/phone-number-privacy/common COPY packages/sdk/encrypted-backup packages/sdk/encrypted-backup COPY packages/sdk/identity packages/sdk/identity +COPY packages/odis-identifiers packages/odis-identifiers ##### Main stage FROM node:18 @@ -17,7 +18,8 @@ LABEL org.opencontainers.image.authors="devops@clabs.co" WORKDIR /celo-phone-number-privacy/ # Copy monorepo settings -COPY package.json yarn.lock ./ +COPY .yarnrc.yml package.json yarn.lock ./ +COPY .yarn/releases/ .yarn/releases/ # Makes build fail if it doesn't copy git, will be removed after build COPY .git .git diff --git a/dockerfiles/phone-number-privacy/Dockerfile-signer b/dockerfiles/phone-number-privacy/Dockerfile-signer index 51b6c1333..635985f23 100644 --- a/dockerfiles/phone-number-privacy/Dockerfile-signer +++ b/dockerfiles/phone-number-privacy/Dockerfile-signer @@ -34,7 +34,7 @@ COPY --from=packages celo-phone-number-privacy/packages/${PACKAGE_SELECTOR} pack # Install dependencies and build. RUN yarn install --network-timeout 100000 --inline-builds && yarn cache clean # RUN yarn workspaces focus @celo/phone-number-privacy-combiner -RUN yarn workspaces foreach -ipv --topological-dev -R --from @celo/phone-number-privacy-combiner run build +RUN yarn workspaces foreach -ipv --topological-dev -R --from @celo/phone-number-privacy-signer run build RUN rm -r .git