Creates a react application by means of create-react-app tool and calls yarn start after.
262
Creates a react application by means of create-react-app tool and calls yarn start after.
If the application exists it just calls yarn start.
docker-compose.yml with the content:
version: '3'
services:
create_react_app:
image: 'nortmas/create-react-app-and-work'
container_name: 'create_react_app_and_work'
command: <react-app>
ports:
- 3000:3000
volumes:
- ./<react-app>:/project/<react-app>
<react-app> with your application folder name.docker-compose up -ddocker logs -f create_react_app_and_work to see the application url.Content type
Image
Digest
Size
20.5 MB
Last updated
about 8 years ago
docker pull nortmas/create-react-app-and-work