Skip to content

Add Dockerfile#3

Merged
giswqs merged 1 commit intomainfrom
docker
Jan 13, 2026
Merged

Add Dockerfile#3
giswqs merged 1 commit intomainfrom
docker

Conversation

@giswqs
Copy link
Copy Markdown
Member

@giswqs giswqs commented Jan 13, 2026

No description provided.

Copilot AI review requested due to automatic review settings January 13, 2026 00:59
@giswqs giswqs merged commit 73f4586 into main Jan 13, 2026
6 checks passed
@giswqs giswqs deleted the docker branch January 13, 2026 01:01
Copy link
Copy Markdown

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 vite-maplibre-react project, enabling containerized deployment of the application. The implementation includes a multi-stage Dockerfile, GitHub Actions workflow for automated Docker image publishing, and comprehensive documentation.

Changes:

  • Added multi-stage Dockerfile with Node.js build stage and nginx production stage
  • Added GitHub Actions workflow to build and publish Docker images to GitHub Container Registry
  • Updated README with Docker usage instructions including docker-compose example
  • Bumped package version from 0.0.0 to 0.1.0

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
Dockerfile Multi-stage Docker build with Node.js builder and nginx production server, configured to serve the app at /vite-maplibre-react/ path
.dockerignore Excludes build artifacts, development files, and sensitive data from Docker context
.github/workflows/docker-publish.yml CI/CD workflow for building and publishing Docker images on releases and PRs
README.md Added comprehensive Docker documentation including build, run, and docker-compose instructions
package.json Version bump to 0.1.0 reflecting the new Docker feature

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread README.md
Create a `docker-compose.yml` file:

```yaml
version: "3.8"
Copy link

Copilot AI Jan 13, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The docker-compose file format version "3.8" is outdated. Docker Compose version 2.x and later (which is now the standard) uses a Compose Specification format that doesn't require a version field. The version field is now optional and only used for backward compatibility with older Docker Compose versions. Consider either removing the version field entirely or updating the documentation to reflect current best practices.

Suggested change
version: "3.8"

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

2 participants