Demo repo showing how to Dockerize a Vite React app and run as a static website using NGINX.
To read an article about this repo see here.
Make sure you have the following installed:
The React app was bootstrapped using Vite.
npm run install
npm run dev
docker build -t vite-app .
docker run -p 80:80 vite-app