We just need to add a volumes
key with an array of values.
version: '3'
services:
react-app:
build: ./
ports:
- 3000:3000
volumes:
- /app/node_modules
- ./:/app
We just need to add a volumes
key with an array of values.
version: '3'
services:
react-app:
build: ./
ports:
- 3000:3000
volumes:
- /app/node_modules
- ./:/app