Skip to content

fix(docker): resolve maryui asset build, qr hmac fallback, and imagick runtime - #28

Merged
PSergio984 merged 1 commit into
mainfrom
fix/docker-assets-and-qr-support
Aug 19, 2026
Merged

fix(docker): resolve maryui asset build, qr hmac fallback, and imagick runtime#28
PSergio984 merged 1 commit into
mainfrom
fix/docker-assets-and-qr-support

Conversation

@PSergio984

Copy link
Copy Markdown
Owner

Summary

This PR resolves containerized runtime and asset compilation issues for the Docker deployment:

  1. Multi-Stage Dockerfile Refactor:

    • Reorganized into a 3-stage build (\composer:2\ vendor install,
      ode:20-alpine\ Vite/Tailwind compilation, \php:8.4-fpm-alpine\ runtime).
    • Ensured Tailwind CSS v4 scans MaryUI vendor files and Blade templates during Docker asset compilation.
    • Installed \imagick\ PHP extension and ImageMagick system libraries for QR code generation and streaming.
    • Targeted platform requirement checking during dependency resolution (--ignore-platform-req=ext-gd --ignore-platform-req=ext-imagick).
  2. QR HMAC Secret Fallback:

    • Updated \config/app.php\ to safely fall back to \APP_KEY\ when \QR_HMAC_SECRET\ is unset or empty, resolving the runtime exception on /profile.
  3. CI/CD Quality Checks:

    • Fixed \Livewire\ChatWidget\ PHPDoc array shape for PHPStan static analysis.
    • Verified formatting via Laravel Pint.
    • Full automated test suite passing (609 tests, 1,741 assertions).

Verification

  • Container builds cleanly and serves application on port \8085.
  • MaryUI sidebar and DaisyUI styling verified live via Chrome DevTools MCP.
  • Attendance QR rendering and PNG download verified without server errors.

Copilot AI lite review requested due to automatic review settings August 19, 2026 12:14

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@coderabbitai

coderabbitai Bot commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 70ce93b0-abad-48a3-8414-3024c284410b


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@PSergio984
PSergio984 merged commit 2a4adf5 into main Aug 19, 2026
11 of 12 checks passed
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