Commit Graph

3 Commits

Author SHA1 Message Date
Matt
bbf9c0d436 fix: resolve Docker container startup error with entrypoint script
All checks were successful
build-website / build (push) Successful in 2m12s
- Created docker-entrypoint.sh script to properly start Next.js server
- Script explicitly changes to /app directory and runs node server.js
- Updated Dockerfile to copy and use the entrypoint script
- This fixes the "Cannot find module '/server.js'" error
- Makes deployment more robust against container orchestration overrides

The container now has a proper entrypoint that Portainer expects
and correctly starts the Next.js standalone server.

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-26 20:02:50 +02:00
Matt
39bb603020 fix: Docker container deployment issues
All checks were successful
build-website / build (push) Successful in 2m14s
- Set proper environment variables (NODE_ENV, HOSTNAME, PORT)
- Use ENTRYPOINT and CMD for better container control
- Fix ownership issues with --chown on COPY commands
- Ensure public directory is copied correctly
- Combine user creation commands for efficiency

The container should now start properly with the Next.js standalone server.

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-26 19:52:21 +02:00
Matt
634257442c fix: Update CI/CD pipeline for Next.js
Some checks failed
build-website / build (push) Failing after 35s
- Updated Gitea workflow to build Next.js instead of Nuxt
- Removed working-directory references to apps/website
- Created Dockerfile for Next.js production builds
- Added standalone output mode to next.config.js for Docker
- Updated build and artifact paths in workflow

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-26 16:23:28 +02:00