-
Notifications
You must be signed in to change notification settings - Fork 1
Add Docker support with nginx reverse proxy and GitHub Actions workflow #48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
@copilot Can you make this project ready for hosting using docker. So add a GithubAction for testting/building a docker container/pushing it to github. Try to keep the docker container small if posible. If you add new env settings please also add them to the .env.example |
…s workflow Co-authored-by: Matthijz98 <[email protected]>
Co-authored-by: Matthijz98 <[email protected]>
… entrypoint script Co-authored-by: Matthijz98 <[email protected]>
I've completed the Docker and GitHub Actions setup for the HapMap project. Here's what was implemented: Docker Setup:
GitHub Actions:
Architecture Note: Environment Variables: Changes committed in: bab734c Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
This PR adds production-ready Docker containerization and automated CI/CD via GitHub Actions for the HapMap project.
Changes Made
Docker Setup
node:22-alpinefor minimal image sizeDOCKER.mdwith setup instructionsGitHub Actions Workflow
.npmrcnode version configurationArchitecture
Since the project uses Keystatic CMS which requires server-side rendering, the implementation uses:
Environment Variables
No new environment variables needed - the container uses
HOST=127.0.0.1andPORT=4321internally.Testing
The setup follows Docker and containerization best practices with optimized image sizes and efficient resource usage.
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.