Skip to content

Commit 561bdd5

Browse files
committed
update node for dockerfile
1 parent b4d4801 commit 561bdd5

File tree

4 files changed

+378
-31
lines changed

4 files changed

+378
-31
lines changed

examples/ethereum-basic-event-handlers/hardhat/Dockerfile

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
1-
FROM node:16-alpine
1+
FROM node:20-alpine
22

33
COPY . /usr/src/app
44

55
WORKDIR /usr/src/app
66

7-
RUN apk add git;
7+
RUN apk add git
88

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

1211
RUN corepack enable
1312

examples/ethereum-basic-event-handlers/hardhat/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@
99
"localnode": "hardhat node --hostname 0.0.0.0"
1010
},
1111
"dependencies": {
12-
"hardhat": "^2.11.2"
12+
"hardhat": "^2.22.1"
1313
}
1414
}

examples/ethereum-basic-event-handlers/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,6 @@
3535
"@graphprotocol/graph-ts": "0.33.0",
3636
"@nomicfoundation/hardhat-toolbox": "^2.0.2",
3737
"apollo-fetch": "^0.7.0",
38-
"hardhat": "^2.13.1"
38+
"hardhat": "^2.22.1"
3939
}
4040
}

0 commit comments

Comments
 (0)