-
Notifications
You must be signed in to change notification settings - Fork 1
Docker support #42
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
Docker support #42
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR adds Docker support to the Design Pattern Pedia project, enabling containerized deployment and automated publishing to Docker Hub. The changes include a multi-stage Dockerfile for building and serving the Docusaurus site, GitHub Actions workflow integration for automated Docker Hub releases, and updated documentation to guide users through local Docker usage.
Key changes:
- Added a multi-stage Dockerfile for building and serving the application
- Integrated automated Docker Hub deployment via GitHub Actions
- Updated README with Docker build and run instructions
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| Dockerfile | Multi-stage Docker build configuration for building and serving the Docusaurus site |
| README.md | Added Docker deployment section with local build/run instructions and Docker Hub reference |
| .github/workflows/deploy.yml | Added dockerhub-release job for automated image building and publishing |
| docusaurus.config.ts | Disabled blog indexing in theme configuration |
docusaurus.config.ts
Outdated
| "@docusaurus/theme-mermaid", | ||
| ], | ||
| themeConfig: { | ||
| indexBlog: false, |
Copilot
AI
Dec 15, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The configuration property 'indexBlog' does not appear to be a valid Docusaurus theme configuration option. Verify that this is the correct property name for disabling blog output. The standard Docusaurus blog plugin configuration typically uses properties like 'blogSidebarCount' or plugin-specific options rather than 'indexBlog' in themeConfig.
| indexBlog: false, |
| docker run -p 3000:3000 designpatternpedia | ||
| ``` | ||
|
|
||
| The compiled image can be found on [Docker Hub at 'theartcher/designpatternpedia'](https://hub.docker.com/repository/docker/theartcher/designpatternpedia). |
Copilot
AI
Dec 15, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Corrected spelling of 'theartcher' to 'thearcher' in the Docker Hub username.
| The compiled image can be found on [Docker Hub at 'theartcher/designpatternpedia'](https://hub.docker.com/repository/docker/theartcher/designpatternpedia). | |
| The compiled image can be found on [Docker Hub at 'thearcher/designpatternpedia'](https://hub.docker.com/repository/docker/thearcher/designpatternpedia). |
This PR proposes to;