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 Jan 10, 2024
1 parent 6f759a2 commit 6a6cad6
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:16-alpine3.15 as solidity-builder
RUN apk add python3 alpine-sdk
RUN apk add python3=3.9.18-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:16-alpine3.15
RUN apk add curl
RUN apk add curl=8.5.0-r0
WORKDIR /app
ADD package*.json ./
RUN npm install --production
Expand Down

0 comments on commit 6a6cad6

Please sign in to comment.