Add Docker support for containerized deployment#3
Merged
warengonzaga merged 3 commits intodevfrom Jun 21, 2025
Merged
Conversation
…ployment Co-authored-by: warengonzaga <15052701+warengonzaga@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add Docker support for project deployment
Add Docker support for containerized deployment
Jun 21, 2025
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR introduces Docker support for the Unthread Webhook Server, providing a multi-stage build Dockerfile with production-ready configuration and a comprehensive .dockerignore to streamline build contexts.
- Multi-stage Dockerfile including build and production stages, non-root user, and health check
.dockerignoreexcludes unnecessary files to reduce build context size and improve performance
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| Dockerfile | Added multi-stage build, non-root user setup, health check, and optimized layer caching |
| .dockerignore | Excluded dependencies, build artifacts, documentation, and other unnecessary files from the Docker build context |
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
warengonzaga
approved these changes
Jun 21, 2025
Member
warengonzaga
left a comment
There was a problem hiding this comment.
All good, I need to update some part of it but that would be a PR for dev branch not here.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds Docker support to the Unthread Webhook Server, enabling easy containerized deployment with production-ready configuration.
Changes Made
🐳 Added
Dockerfilewith multi-stage buildnodejs:nodejs) for enhanced security/healthendpoint📁 Added
.dockerignorenode_modules,dist,.git,.env, etc.)Usage
Docker Compose Example
Verification
The containerized application maintains full compatibility with the existing codebase while providing a standardized deployment method across different environments.
💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.