Merge pull request #51 from zkokk/CI-4

New hardhat path
This commit is contained in:
zkokk 2024-07-03 11:52:26 +03:00 committed by GitHub
commit bcb4bd77bb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View file

@ -2,9 +2,9 @@ FROM node:22-alpine3.19
RUN apk add --no-cache bash RUN apk add --no-cache bash
WORKDIR /usr/src/app WORKDIR /usr/src/app/hardhat
COPY . /usr/src/app COPY . /usr/src/app/hardhat
RUN npm install --save-dev hardhat RUN npm install --save-dev hardhat

View file

@ -1,7 +1,7 @@
#!/bin/sh #!/bin/sh
# Change to the correct directory # Change to the correct directory
cd /usr/src/app; cd /usr/src/app/hardhat;
# Start hardhat node as a background process # Start hardhat node as a background process
nohup npx hardhat node & nohup npx hardhat node &