An open API service indexing awesome lists of open source software.

https://github.com/ganchdev/docker-react-app

Testing out deployments with docker
https://github.com/ganchdev/docker-react-app

Last synced: 9 months ago
JSON representation

Testing out deployments with docker

Awesome Lists containing this project

README

          

# Getting Started with Create React App in Docker

### Dev
```
docker build -f Dockerfile.dev .
docker run -it -p 3000:3000 -v /app/node_modules -v $(pwd):/app
```

for tests use docker-compose:
```
docker-compose up --build
docker-compose down
```

### Prod with Nginx
```
docker build .
docker run -p 8080:80
```