Skip to content

Use nodemon for automatic reloading of source code changes in development

Zak, J. (Jan) requested to merge nodemon into master

Development

Dockerfile.dev defines a development container with nodemon. It requires to attach the source code directory as volume for automatic reloading of code changes.

docker-compose.yml automatically builds a container with Dockerfile.dev.

docker-compose up --build --remove-orphans

Production

Dockerfile defines a production container.

There is no docker-compose.yml using it yet, because production deployment is likely going to use Kubernetes instead.

Edited by Zak, J. (Jan)

Merge request reports

Loading