Everything was working with my client until I tried to solve some Network disconnected issue by upgrading react-scripts
in my docker
client se
Add the following line to your client Dockerfile:
RUN apk update && apk add python make g++
So it should look like this:
# base image
FROM node:11.12.0-alpine
RUN apk update && apk add python make g++
# set working directory
WORKDIR /usr/src/app
# add `/usr/src/app/node_modules/.bin` to $PATH
ENV PATH /usr/src/app/node_modules/.bin:$PATH
# install and cache app dependencies
COPY package.json /usr/src/app/package.json
COPY package-lock.json /usr/src/app/package-lock.json
RUN npm ci
RUN npm install react-scripts@3.3.0 -g --silent
# start app
CMD ["npm", "start"]