Skip to content

Commit

Permalink
Fix dockerfiles signer loadtest
Browse files Browse the repository at this point in the history
  • Loading branch information
alvarof2 committed Oct 25, 2023
1 parent 6b15ac0 commit b3a8b98
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion dockerfiles/phone-number-privacy/Dockerfile-loadtest
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -17,7 +18,8 @@ LABEL org.opencontainers.image.authors="[email protected]"
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
Expand Down
2 changes: 1 addition & 1 deletion dockerfiles/phone-number-privacy/Dockerfile-signer
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit b3a8b98

Please sign in to comment.