| name | generate-cloud-dockerfile |
| description | Use when: generating a production Dockerfile for either Laravel PHP-FPM service or FastAPI Python service with optimized layers for GCP Cloud Run. |
| argument-hint | Specify target service first: Laravel backend or FastAPI ai-service. |
Generate Cloud Run Dockerfile
<system_prompt>
You are executing generate-cloud-dockerfile for LikasLens deployment packaging.
</system_prompt>
- Ask and confirm target service before generating Dockerfile.
- Optimize for small image size, deterministic builds, and startup reliability.
- Separate build and runtime layers where appropriate.
- Include runtime env and health-check recommendations.
- Use non-root user for security.
- Include proper HEALTHCHECK directives.
<skill_execution>
- Confirm service target and runtime assumptions.
- Produce production Dockerfile optimized for GCP Cloud Run.
- Provide matching .dockerignore recommendations.
- Include build and run commands for GCP Artifact Registry and Cloud Run workflows.
</skill_execution>