Skip to content

Commit

Permalink
update node for dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
saihaj committed Mar 18, 2024
1 parent b4d4801 commit 561bdd5
Show file tree
Hide file tree
Showing 4 changed files with 378 additions and 31 deletions.
7 changes: 3 additions & 4 deletions examples/ethereum-basic-event-handlers/hardhat/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
FROM node:16-alpine
FROM node:20-alpine

COPY . /usr/src/app

WORKDIR /usr/src/app

RUN apk add git;
RUN apk add git

RUN apk add --update python3 make g++\
&& rm -rf /var/cache/apk/*
RUN apk add --update python3 make g++ && rm -rf /var/cache/apk/*

RUN corepack enable

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
"localnode": "hardhat node --hostname 0.0.0.0"
},
"dependencies": {
"hardhat": "^2.11.2"
"hardhat": "^2.22.1"
}
}
2 changes: 1 addition & 1 deletion examples/ethereum-basic-event-handlers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,6 @@
"@graphprotocol/graph-ts": "0.33.0",
"@nomicfoundation/hardhat-toolbox": "^2.0.2",
"apollo-fetch": "^0.7.0",
"hardhat": "^2.13.1"
"hardhat": "^2.22.1"
}
}
Loading

0 comments on commit 561bdd5

Please sign in to comment.