I am trying to create a docker-compose setup with nginzx, flask, and react. I started my react app with react-create-app (https://github.com/facebook/create-react-app) and h
Ran into same issue. Below mentioned steps resolved my problem: 1. add stdin_open: true
version: '3.1' services: nginx: . . react: stdin_open: true . .
2. Do not forget to build the container again after the above mentioned change is made.
docker-compose down docker-compose up --build