Skip to content

mattburrell/vite-react-docker

Repository files navigation

vite-react-docker

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.

Dependencies

Make sure you have the following installed:

The React app was bootstrapped using Vite.

Installation and running locally

npm run install
npm run dev

Building and running in Docker

docker build -t vite-app .
docker run -p 80:80 vite-app

About

Demo repo showing how to Dockerize a Vite React app

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published