DockGen
Docker Config Generator
Auto-detects 30+ frameworks · private repos · live build testing

Dockerize any git repo in seconds

Paste a URL from GitHub, GitLab, Bitbucket, Codeberg, or any Gitea-compatible host. DockGen generates production-ready Dockerfile, docker-compose.yml, .env, and .env.example.

Token is sent only to the server, used for downloading the repo archive, and never stored. Create one in GitHub settings with repo scope.

30+ languages & frameworks

Next.js, Nuxt, Svelte, Astro, Remix, Gatsby, React, Vue, Angular, Express, NestJS, Fastify, Django, Flask, FastAPI, Spring Boot, Rails, Sinatra, Laravel, Symfony, Phoenix, Scala, Kotlin, Clojure, Go, Rust, .NET, Deno, Dart, Swift, Haskell, C/C++, static sites, and more.

Smart service detection

Auto-adds Postgres, MySQL, MongoDB, Redis, RabbitMQ, and Elasticsearch containers with healthchecks, based on the dependencies in your package.json, requirements.txt, Gemfile, etc.

Multi-stage builds

Generated Dockerfiles use multi-stage builds to keep final images small. Production-ready, not just a tutorial.