mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 10:22:23 +00:00
npm uninstall
This commit is contained in:
parent
bcb4bd77bb
commit
a9f539617d
2 changed files with 5 additions and 5 deletions
|
|
@ -2,15 +2,15 @@ FROM node:22-alpine3.19
|
|||
|
||||
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
|
||||
|
||||
COPY ./hardhat/entrypoint.sh /usr/local/bin
|
||||
COPY ./entrypoint.sh /usr/local/bin
|
||||
|
||||
EXPOSE 8545
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Change to the correct directory
|
||||
cd /usr/src/app/hardhat;
|
||||
cd /usr/src/app;
|
||||
|
||||
# Start hardhat node as a background process
|
||||
nohup npx hardhat node &
|
||||
|
|
|
|||
Loading…
Reference in a new issue