mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 18:32:23 +00:00
commit
f5aeaec1fa
2 changed files with 5 additions and 5 deletions
|
|
@ -2,15 +2,15 @@ FROM node:22-alpine3.19
|
||||||
|
|
||||||
RUN apk add --no-cache bash
|
RUN apk add --no-cache bash
|
||||||
|
|
||||||
WORKDIR /usr/src/app/hardhat
|
WORKDIR /usr/src/app
|
||||||
|
|
||||||
COPY . /usr/src/app/hardhat
|
COPY . /usr/src/app
|
||||||
|
|
||||||
RUN npm install --save-dev hardhat
|
RUN npm uninstall && npm install --save-dev hardhat
|
||||||
|
|
||||||
RUN npm install wait-on
|
RUN npm install wait-on
|
||||||
|
|
||||||
COPY ./hardhat/entrypoint.sh /usr/local/bin
|
COPY ./entrypoint.sh /usr/local/bin
|
||||||
|
|
||||||
EXPOSE 8545
|
EXPOSE 8545
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
# Change to the correct directory
|
# Change to the correct directory
|
||||||
cd /usr/src/app/hardhat;
|
cd /usr/src/app;
|
||||||
|
|
||||||
# Start hardhat node as a background process
|
# Start hardhat node as a background process
|
||||||
nohup npx hardhat node &
|
nohup npx hardhat node &
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue