Skip to content

Commit

Permalink
Pin package versions in Dockerfile
Browse files Browse the repository at this point in the history
Signed-off-by: Nicko Guyer <nicko.guyer@kaleido.io>
  • Loading branch information
nguyer committed Feb 29, 2024
1 parent be3d9cc commit 372c4d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM node:20-alpine3.17 as solidity-build
RUN apk add python3 alpine-sdk
RUN apk add python3=3.10.13-r0 alpine-sdk=1.0-r1
USER node
WORKDIR /home/node
ADD --chown=node:node ./samples/solidity/package*.json ./
Expand All @@ -15,7 +15,7 @@ ADD . .
RUN npm run build

FROM node:20-alpine3.17
RUN apk add curl
RUN apk add curl=8.5.0-r0
# We also need to keep copying it to the old location to maintain compatibility with the FireFly CLI
COPY --from=solidity-build --chown=1001:0 /home/node/artifacts/contracts/ERC1155MixedFungible.sol/ERC1155MixedFungible.json /root/contracts/
WORKDIR /app
Expand Down

0 comments on commit 372c4d2

Please sign in to comment.