🐳 Docify

Auto-generate production-ready Docker images — zero configuration

Just run ./docify in your project folder. It auto-detects everything and builds a Docker image. No questions asked.

Release Platform

✨ Supported Projects

🟢

Node.js Backend

Detected via package.json + server code

node:18-alpine + npm ci

⚛️

React / Vite

Detected via react-scripts or vite

→ Multi-stage: build → nginx:alpine

Next.js

Detected via next in deps or next.config.*

→ Multi-stage: build → npm start

🐍

Python

Detected via requirements.txt

python:3.11-slim + pip install

🚀 How It Works

1

✅ Verifies Docker is running

2

📦 Auto-detects project type

3

📄 Auto-detects entry file & port

4

📝 Generates optimized Dockerfile

5

🔨 Builds the Docker image

Terminal
$ cd my-project
$ ./docify

🚀 Docify — Auto Docker Image Builder
========================================
✅ Docker is running.
✅ Detected project: Node.js (Backend)
✅ Entry file: server.js
✅ Port: 3000
✅ Image name: docify-my-project
📝 Dockerfile generated.
🔨 Building Docker image 'docify-my-project'...
========================================
✅ Docker image built successfully!
========================================
▶️  Run it with:
   docker run -p 3000:3000 docify-my-project

📥 Quick Install

🪟 Windows

Invoke-WebRequest -Uri "https://github.com/yash-gautam9953/docify/releases/latest/download/docify.exe" -OutFile "docify.exe"

🐧 Linux

curl -L -o docify https://github.com/yash-gautam9953/docify/releases/latest/download/docify
chmod +x docify

🎯 Smart Auto-Detection

📦 Project Type

package.json deps → React / Next / Vite / Backend
requirements.txt → Python

📄 Entry File

package.json main/start script
server.js, app.js, index.js...

🌐 Port

.env → code scan → package.json scripts → framework defaults

🏷️ Image Name

Your folder name → docify-<folder>

Port Detection Priority

  1. .env file → PORT=3000
  2. Code scan → app.listen(3000), const port = 3000
  3. package.json--port 5173 in scripts
  4. Framework defaults → Vite: 5173, React/Next: 3000
  5. If all fail → asks user (only input ever needed)

🏆 Why Docify?

Without Docify 😫

  • Write Dockerfile manually
  • Research multi-stage builds
  • Figure out entry file & port
  • Different setup per project
  • ~15 min per project

With Docify 🎉

  • Auto-generated
  • Built-in for React / Next.js
  • Auto-detected
  • One command for all
  • ~10 seconds

📦 Latest Release — v1.0.1