Skip to content

Conversation

@devanmolx
Copy link

@devanmolx devanmolx commented Mar 8, 2025

This PR introduces a Dockerfile to the project, enabling Docker support for the Node.js application. By containerizing the application, we ensure a consistent environment across development, testing, and production.

Fixes #11

Changes:
1.) Added a Dockerfile that uses the node:20-alpine base image for a minimal image size and faster build times.
2.) Installed project dependencies inside the container.
3.) Exposed port 3000 for the application to run inside the container.
4.) Configured the container to run npm start to launch the app.

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.

Dockerize the Node.js Application

1 participant