Dockerfile Builder
By blake w. · Published · Updated
Generate an optimized Dockerfile for your web application or service.
Tags: devops, coding, docker
Prompt template
## Introduction Create a production-ready Dockerfile for your project. ## Application Details - Tech Stack/Language: [dropdown: Node.js, Python/Flask, Python/Django, Go, Rust, Java, Ruby on Rails] - Package Manager: [dropdown: npm, yarn, pip, go mod, cargo, maven] - Application Port: [1, 65535] ## Dockerfile Settings - Use a multi-stage build? [toggle: Yes, No] - Base OS preference: [dropdown: Alpine (Smallest), Debian Buster, Ubuntu, Default] - Specific system dependencies required: [textarea: E.g., libvips, ffmpeg, gcc] - Optimizations: [multi: Run as non-root user, Cache dependencies, Set NODE_ENV/ENV vars] --- **Goal**: Output a complete, well-commented Dockerfile optimized for security and image size.