Skip to content

Conversation

@theartcher
Copy link
Contributor

This PR proposes to;

  • Add Dockerfile to the root of the directory.
  • Update the README with instructions on how to use the Dockerfile.
  • Add GitHub Action to automatically deploy to Dockerhub @ hub.docker.com/repository/docker/theartcher/designpatternpedia
  • Update config to disable blog output

@theartcher theartcher self-assigned this Dec 15, 2025
Copilot AI review requested due to automatic review settings December 15, 2025 19:17
@theartcher theartcher added documentation Improvements or additions to documentation enhancement New feature or request labels Dec 15, 2025
Copy link
Contributor

Copilot AI left a 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/theme-mermaid",
],
themeConfig: {
indexBlog: false,
Copy link

Copilot AI Dec 15, 2025

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.

Suggested change
indexBlog: false,

Copilot uses AI. Check for mistakes.
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).
Copy link

Copilot AI Dec 15, 2025

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.

Suggested change
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).

Copilot uses AI. Check for mistakes.
@theartcher theartcher merged commit 7c7c97f into main Dec 15, 2025
1 check passed
@theartcher theartcher deleted the feature/36/docker-support branch December 15, 2025 19:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants