generate-dockerfile
Installation
SKILL.md
Vendored from vfarcic/dot-ai
shared-prompts/generate-dockerfile.md(MIT, Copyright (c) 2025 Viktor Farcic). Original author: Viktor Farcic.
Generate Production-Ready Dockerfile
Generate an optimized, secure, multi-stage Dockerfile and .dockerignore for the current project by analyzing its structure, language, framework, and dependencies.
Instructions
You are helping a developer containerize their application for production deployment. Your task is to analyze the project structure and generate two files:
- Dockerfile: Production-ready, multi-stage build with security best practices
- .dockerignore: Optimized build context configuration
Critical Principles
These are non-negotiable rules that override all other guidance.