Skip to content

Conversation

@mateusmtorres23
Copy link

Updates the Dockerfile CMD to use 'nodemon server.js' and overrides NODE_ENV to 'development' in compose.yaml to enable the hot-reloading feature.

…es the Dockerfile CMD to use 'nodemon server.js' and overrides NODE_ENV to 'development' in compose.yaml to enable the hot-reloading feature.
@mateusmtorres23
Copy link
Author

Hello maintainers, I encountered an issue where the docker compose watch feature failed to enable hot-reloading for the Node.js service due to a conflict between the Dockerfile and compose.yaml environments. This PR corrects the CMD to use nodemon and sets the NODE_ENV to development to ensure the tutorial's intended development experience is functional. Thanks for the review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant