Skip to content

Added Docker support for template-engine#34

Closed
superAman07 wants to merge 2 commits intoaccordproject:mainfrom
superAman07:main
Closed

Added Docker support for template-engine#34
superAman07 wants to merge 2 commits intoaccordproject:mainfrom
superAman07:main

Conversation

@superAman07
Copy link
Copy Markdown

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.

Signed-off-by: superAman07 <rivalaman123@gmail.com>
@sanketshevkar
Copy link
Copy Markdown
Member

@dselman do we have a requirement for this?

@dselman
Copy link
Copy Markdown
Contributor

dselman commented Feb 24, 2025

Sounds useful, yes.

@sanketshevkar
Copy link
Copy Markdown
Member

@dselman can you please review this once as well.

Copy link
Copy Markdown
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
Copy Markdown
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.

@mttrbrts mttrbrts closed this Mar 21, 2026
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