Merged
Conversation
Owner
Nanahuse
commented
Nov 27, 2025
- publish pull request container image
- redesign container
c495b35 to
89dc2ed
Compare
89dc2ed to
062a3fd
Compare
There was a problem hiding this comment.
Pull request overview
This PR establishes Docker containerization for the racebot project, enabling both development and production deployment workflows. It introduces a multi-stage Dockerfile, GitHub Actions workflows for automated image publishing, and updates the development container configuration to leverage the new unified Dockerfile structure.
Key changes:
- Multi-stage Dockerfile with
base,runtime, anddevtargets for different use cases - GitHub Actions workflows for publishing container images on PR and main branch pushes
- Consolidated devcontainer setup using the main Dockerfile instead of a separate devcontainer Dockerfile
- Added Ruff linter configuration to pyproject.toml
Reviewed changes
Copilot reviewed 8 out of 10 changed files in this pull request and generated 11 comments.
Show a summary per file
| File | Description |
|---|---|
| Dockerfile | Introduces multi-stage build with base, runtime, and dev images using uv package manager |
| .github/workflows/publish-pr.yml | Workflow to build and push experimental PR container images to GHCR |
| .github/workflows/publish-main.yml | Workflow to build and push versioned and latest container images on main branch |
| .devcontainer/devcontainer.json | Updated to use main Dockerfile's dev target instead of separate devcontainer Dockerfile |
| .devcontainer/scripts/copy_auth.sh | Script to copy SSH credentials from host to container for authentication |
| .devcontainer/Dockerfile | Removed in favor of unified Dockerfile |
| pyproject.toml | Added Ruff linter configuration with line length and rule selections |
| README.md | Added docker-compose.yaml example and Japanese description |
| .gitignore | Added uv cache and venv directories |
| LICENSE | Formatting change (no content modification) |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
You can also share your feedback on Copilot code review for a chance to win a $100 gift card. Take the survey.
058b6f1 to
3847382
Compare
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.