https://github.com/przbadu/docker-react-cli
Docker image to provide docker cli e.g: create-react-app, react-react-native-app, react-native-cli, npm, etc
https://github.com/przbadu/docker-react-cli
Last synced: 9 months ago
JSON representation
Docker image to provide docker cli e.g: create-react-app, react-react-native-app, react-native-cli, npm, etc
- Host: GitHub
- URL: https://github.com/przbadu/docker-react-cli
- Owner: przbadu
- License: mit
- Created: 2017-08-25T03:35:05.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-08-25T04:25:37.000Z (over 8 years ago)
- Last Synced: 2025-02-14T22:47:47.115Z (11 months ago)
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# docker-react-cli
Because we are using `Docker` this image will provide `react` cli
commands like `create-react-app`, `create-react-native-app`,
`react-native-cli`, etc without having to install `node`, or these
packages in your development machine.
## Usage
1. You can clone this repo and build your own image
```sh
$ git clone https://github.com/przbadu/docker-react-cli.git
$ cd docker-react-cli
$ docker build . -t docker-react-cli
```
2. Use your image to generate scaffold
For Linux/Mac
```sh
$ docker run -v ${PWD}:/app docker-react-cli create-react-app myapp
```
For Windows
```sh
$ docker run -v %cd%:/app docker-react-cli create-react-app myapp
```
> NOTE: you can also use my docker image [przbadu/docker-react-cli](https://hub.docker.com/r/przbadu/docker-react-cli/)