Skip to content

Conversation

superAman07
Copy link

Added Docker support for the project. This includes a Dockerfile that sets up a lightweight Node.js environment using Alpine, installs dependencies, builds the TypeScript project, and runs the application from the dist folder. Future enhancements like .env support or database integration can be added as needed.

@sanketshevkar
Copy link
Member

@dselman do we have a requirement for this?

@dselman
Copy link
Contributor

dselman commented Feb 24, 2025

Sounds useful, yes.

@sanketshevkar
Copy link
Member

@dselman can you please review this once as well.

Copy link
Member

@mttrbrts mttrbrts left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the contribution, @superAman07!

I'm curious, what is the API / interface for using the image? i.e. how do we make this useful for users?

Are you also able to add a step in the build workflow to test the docker build, please?

@superAman07
Copy link
Author

@mttrbrts , I’ve added detailed instructions in the README.md file on how to build and use the Docker image.
This includes:
1: Steps to build the image using docker build.
2: Running the container with docker run.
3: Passing environment variables using a .env file.
4: Accessing the application at http://localhost:3000.

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.

4 participants