diff --git a/web/cashtab/Dockerfile b/web/cashtab/Dockerfile --- a/web/cashtab/Dockerfile +++ b/web/cashtab/Dockerfile @@ -14,7 +14,7 @@ apt-get install -y git && \ apt-get install -y python # install node modules and build assets -RUN npm install --legacy-peer-deps && npm run build +RUN npm install && npm run build # Stage 2 FROM nginx diff --git a/web/cashtab/README.md b/web/cashtab/README.md --- a/web/cashtab/README.md +++ b/web/cashtab/README.md @@ -9,10 +9,8 @@ ## Development -CashTab relies on some modules that retain legacy dependencies. NPM version 7 or later no longer supports automatic resolution of these peer dependencies. To successfully install modules such as `qrcode.react`, with NPM > 7, run `npm install` with the flag `--legacy-peer-deps` - ``` -npm install --legacy-peer-deps +npm install npm start ``` @@ -67,7 +65,7 @@ ## Docker deployment ``` -npm install --legacy-peer-deps +npm install docker-compose build docker-compose up ```