Created
July 4, 2022 08:49
-
-
Save uurtech/c38b5d5d2628ac5880ebf42189ac159b to your computer and use it in GitHub Desktop.
ReactJS Docker-compose hot reload
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| version: '3' | |
| services: | |
| app: | |
| build: . | |
| ports: | |
| - "5000:5000" | |
| environment: | |
| - CHOKIDAR_USEPOLLING=true | |
| volumes: | |
| - .:/usr/src/app | |
| - /usr/src/app/node_modules | |
| stdin_open: true | |
| tty: true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment