Skip to content
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

Dev #4

Merged
merged 4 commits into from
Nov 13, 2024
Merged

Dev #4

merged 4 commits into from
Nov 13, 2024

Conversation

JoseRMorales
Copy link
Owner

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:

  • Added .dockerignore file to specify files and directories to ignore during Docker build.
  • Created docker/Dockerfile to define the Docker image build process, including dependency installation and production setup.

GitHub Actions Workflow:

  • Added a new GitHub Actions workflow (.github/workflows/publish-docker.yml) for building and pushing Docker images to the GitHub Container Registry on main branch updates.

Dependency Updates:

  • Updated supabase dependency version in package.json to ^1.207.9.
  • Updated pnpm-lock.yaml to reflect changes in dependency versions and transitive dependencies. [1] [2] [3] [4] [5] [6] [7]

Code Enhancements:

  • Modified getMatchDate function in src/app/actions.ts to handle cases where date or time is missing.
  • Updated login function in src/app/actions.ts to await goToCurrentRound call.
  • Adjusted GameStats component in src/components/GameStats.tsx to conditionally render match date.

Configuration Changes:

  • Added output: 'standalone' to next.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.

Copy link

vercel bot commented Nov 13, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
soccer-stats 🔄 Building (Inspect) Visit Preview 💬 Add feedback Nov 13, 2024 6:25pm

@JoseRMorales JoseRMorales merged commit 04b83c8 into main Nov 13, 2024
1 of 3 checks passed
@JoseRMorales JoseRMorales deleted the dev branch November 13, 2024 18:25
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.

1 participant