Add fix for yarn install on M1 platform in react-peer

This commit is contained in:
nabarun 2023-03-23 17:28:22 +05:30
parent 2c63b46b40
commit b1d5bf831d
2 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
{
"rpcUrl": "http://laconicd:8545",
"privateKey": "c7f31b8b2d5c760c895cbbe881390c78a9435eedb08011a3a23a4d4195a50d6d",
"privateKey": "GENESIS_ACCOUNT_PRIVATE_KEY",
"baseURI": "http://127.0.0.1:3002/#"
}

View File

@ -1,6 +1,6 @@
FROM node:18.15.0-alpine3.16
RUN apk --update --no-cache add make git
RUN apk --update --no-cache add make git python3
WORKDIR /app
@ -9,6 +9,6 @@ COPY . .
RUN yarn global add serve
RUN echo "Building react-peer" && \
yarn && yarn build --ignore @cerc-io/test-app
yarn install --ignore-scripts && yarn build --ignore @cerc-io/test-app
WORKDIR /app