acc-create-dockerfile-production
Installation
SKILL.md
Production Dockerfile Generator
Generates production-ready, multi-stage Dockerfiles for PHP 8.4 projects with security hardening, OPcache tuning, and PHP-FPM optimization.
Generated Files
Dockerfile # Production multi-stage build (3 stages)
Generation Instructions
- Analyze project:
- Read
composer.jsonfor PHP version and required extensions - Check
requiresection forext-*entries - Detect framework: Symfony (
symfony/framework-bundle), Laravel (laravel/framework) - Identify database drivers:
pdo_pgsql,pdo_mysql - Check for
ext-redis,ext-amqp,ext-gd,ext-intl, etc.
- Read