Example of Dockerizing React + Vite project for development with hot reload!
- Basic Knowledge of React+Vite, Git, Github
- Understanding Docker (Image, Container, Volume, Compose)
- Docker on the Local Environment
Clone the github repository:
git clone https://github.com/tarikulwebx/react-app-dockerize.git
Navigate to the project directory:
cd react-app-dockerize
Run the command to build image and run containe in detach mode:
docker-compose up -d
Stop the container (if your want)
docker-compose down