dockerfile-generator
/dockerfile-generator
Create a production-ready Dockerfile and deployment config for any project. Optimized for small image size and security. Use when the user wants to containerize their app or deploy to Fly.io, Railway, or any Docker-based platform.
- Author
- hamzafarooq ↗
- Repository
- claude-code-starter ↗
- Licence
- MIT
- Last repository change
- 11.10.2026
Assessment and security
- Files in this package
- 1
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 11.10.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
Create a production-ready Dockerfile and deployment config for any project. Optimized for small image size and security. Use when the user wants to containerize their app or deploy to Fly.io, Railway, or any Docker-based platform.
Original author description
Create a production-ready Dockerfile and deployment config for any project. Optimized for small image size and security. Use when the user wants to containerize their app or deploy to Fly.io, Railway, or any Docker-based platform.
How it works
- Dockerfile
- Platform config (if applicable)
- .dockerignore
SKILL.md preview
--- name: dockerfile-generator description: Create a production-ready Dockerfile and deployment config for any project. Optimized for small image size and security. Use when the user wants to containerize their app or deploy to Fly.io, Railway, or any Docker-based platform. --- Ask the user: 1. "What language and framework? (e.g. Python/FastAPI, Node/Next.js, Go)" 2. "What platform are you deploying to? (Fly.io, Railway, Cloud Run, self-hosted)" 3. "Any environment variables the app needs at runtime?" Then produce: ## Dockerfile ```dockerfile # [explanation of each stage] ``` **What this Dockerfile does:** - Base image choice and why - Multi-stage build explanation (if used) - How dependencies are cached for fast rebuilds - Non-root user setup (security) - Health check configuration --- ## Platform config (if applicable) **fly.toml** (for Fly.io): ```toml # minimal fly.toml ``` **Commands to deploy:** ```bash # step-by-step deployment commands ``` --- ## .dockerignore ``` node_modules/ .env .env.local *.log .git ``` --- **Security checklist:** - [ ] App runs as non-root user - [ ] No secrets in the image layers - [ ] Only production dependencies installed - [ ] Health check defined - [ ] Image size under [target — e.g. 200MB for Node, 100MB for Python Alpine] --- Flag any environment variable that looks like a secret — confirm it's being passed at runtime, not baked into the image.
Versions
| Repository | Score | Licence |
|---|---|---|
| This page · hamzafarooq/claude-code-starter | 100 | MIT |
| jeremylongshore/tons-of-skills-marketplace | 100 | MIT |
| stefanthecode/dotnet-ai-toolkit | 100 | MIT |
| pantheon-org/tekhne | 90 | MIT |
Database snapshot: 13.11.2026 · package version fdca7c1f7bad (SHA-256 digest of the entire package)
Downloads in the last 30 days: 2 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 100docker-compose-generator
Generates multi-stage Dockerfiles and docker-compose configurations optimized for size, security, and development workflow. Covers common stacks including Node.js, Python, Java, and Go. Triggers on: "create Dockerfile", "docker-compose", "containerize", "docker setup". - 100dockerize
Generate an optimized, production-ready Dockerfile for any project. Detects language and framework, uses multi-stage builds, optimizes layer caching, handles monorepo structures, and follows security best practices. Use when the user says "dockerize", "add docker", "create… - 100deploy
Elixir/Phoenix deployment patterns — Dockerfile, fly.toml; Use when configuring Fly.io, Docker, CI/CD, health checks… - 100railway-deploy
Deploy projects to Railway — Dockerfile creation, railway.toml config, environment variables, multi-service setups (web + worker), and deployment via CLI or GraphQL API. Trigger on "deploy to Railway", "ship it on Railway", or "set up Railway hosting", and on questions about… - 100docker-image-create
Generate production-ready Dockerfiles from project source code. Detects language/framework automatically and produces multi-stage builds with minimal, distroless, or slim base images. Use this skill whenever the user wants to containerize an application, create a Dockerfile,… - 100windsurf-dockerfile-generation
Create optimized Dockerfiles with AI-driven best practices. Activate when users mention "create dockerfile", "container image", "docker optimization", "containerize application", or "docker best practices". Handles Docker configuration generation. Use when working with windsurf…