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.
This pull request includes several changes to improve Docker support, update dependencies, and enhance code functionality. The most important changes include adding Docker-related files, updating the GitHub Actions workflow for Docker image publishing, and making various code and configuration adjustments.
Docker Support Enhancements:
.dockerignore
file to specify files and directories to ignore during Docker build.docker/Dockerfile
to define the Docker image build process, including dependency installation and production setup.GitHub Actions Workflow:
.github/workflows/publish-docker.yml
) for building and pushing Docker images to the GitHub Container Registry onmain
branch updates.Dependency Updates:
supabase
dependency version inpackage.json
to^1.207.9
.pnpm-lock.yaml
to reflect changes in dependency versions and transitive dependencies. [1] [2] [3] [4] [5] [6] [7]Code Enhancements:
getMatchDate
function insrc/app/actions.ts
to handle cases wheredate
ortime
is missing.login
function insrc/app/actions.ts
to awaitgoToCurrentRound
call.GameStats
component insrc/components/GameStats.tsx
to conditionally render match date.Configuration Changes:
output: 'standalone'
tonext.config.ts
to optimize the Next.js build for standalone deployment.These changes collectively enhance the project's Docker support, streamline the CI/CD process, and improve code robustness and maintainability.