Skip to content

A small project to demo how to develop react in docker container for local development with hot reloading

Notifications You must be signed in to change notification settings

ashiqsultan/react-docker-local-dev

Repository files navigation

React local development in docker container with hot reloading

This is a demo app to facilitate React app development in docker container with hot reloading

Important: Remember to rebuild Docker image if you make changes to the package.json file, as new dependencies won't be automatically installed in the container.

To start development run docker-compose up --build

Once built next time simply run docker-compose up

Files which makes this work

  • dockerfile
  • docker-compose.yml
  • vite.config.js

About

A small project to demo how to develop react in docker container for local development with hot reloading

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published