DevOps & automation
FREE
Claude · Intermediate
Optimized multi-stage Dockerfile for production
Create a secure, lightweight multi-stage Dockerfile for PHP/Laravel or Node apps.
PROMPT
Actúa como experto DevOps. Crea un Dockerfile multi-stage para:
Stack: {STACK}
Puerto: {PUERTO}
Requisitos:
1. Stage builder separado del runtime
2. Usuario no-root
3. .dockerignore recomendado
4. Health check
5. Variables de entorno documentadas
6. Imagen final < 200MB si es posible
Incluye docker-compose.yml básico con nginx.
287 copies
Usage example
Replace {STACK} with "Laravel 11 + PHP 8.2" and get a ready Dockerfile.