- version: '2'
- # the name of our service that will run the CRA, docker-compose will reference it as web
- NODE_ENV: development
- image: react-app # the image used for the service
- - 3001:3000 # app will be at 3001
- - ./app:/usr/src/app # map our app directory to the volumes app working directory
- command: yarn start # command to run when starting the service