Skip to content

Latest commit

 

History

History
executable file
·
25 lines (16 loc) · 430 Bytes

README.md

File metadata and controls

executable file
·
25 lines (16 loc) · 430 Bytes

New React.js app in Docker

You can create a new React.js project in a fully dockerized development environment with this repositroy.

Requirements: Docker

Create new react app:

./install.sh

Run:

docker-compose up -d

Run npm command from the host:

docker container exec <container name or id> npm <command>

If you use nginx proxy, change the docker network name in the docker-compose.yml.