{"agent":"claude","input":"Write a Dockerfile for this CodeIgniter 4 application. Read composer.json, README.md, public/index.php, public/.htaccess, app/Config/Paths.php, app/Config/App.php, app/Config/Boot/production.php, env, .gitignore, phpunit.dist.xml and .github/workflows/phpunit.yml first. Use the official php image's Apache variant at a version composer.json allows, install the intl extension with docker-php-ext-install and its libicu-dev dependency, enable mod_rewrite, set Apache's DocumentRoot and its Directory block to /var/www/html/public, copy Composer from the composer image and run composer install --no-dev --optimize-autoloader before copying the application source, set CI_ENVIRONMENT=production in the image, leave app_baseURL to be passed at run time, and make writable/ owned by www-data. Add a .dockerignore for vendor, writable contents, .env, tests and .git. Docker is not installed here: install docker.io, start dockerd, build the image, run it with a port published and app_baseURL set, and request / and an unknown path to confirm the welcome page and the framework's 404. Run composer install and vendor/bin/phpunit in the sandbox, add a CI job that builds the image, and open a pull request that says what to pass at run time.","resources":[{"url":"https://github.com/your-org/your-app"}]}