|
Download README.md from Battingchart300/dockerfile-generator: direct link, hf CLI and curl.
- Browser
- Download file 1 kB
-
https://huggingface.co/spaces/Battingchart300/dockerfile-generator/resolve/main/README.md
- Command line
-
hf download hf://spaces/Battingchart300/dockerfile-generator/README.md
-
curl -L -o README.md https://huggingface.co/spaces/Battingchart300/dockerfile-generator/resolve/main/README.md
1 kB
metadata
title: Dockerfile Generator
emoji: 🐳
colorFrom: blue
colorTo: indigo
sdk: static
pinned: false
license: mit
short_description: Generate a Dockerfile and docker-compose.yml for your app.
Dockerfile Generator
Pick your app type (Flask, FastAPI, plain Python script or Node.js), set the entry file and port, and get a ready Dockerfile + docker-compose.yml. Copy or download them, then build with docker build -t my-app . and run with docker compose up.
No API key, no server — everything runs in your browser.
Presets
| App type | Base image | Default port | Start command |
|---|---|---|---|
| Flask | python:3.12-slim | 5000 | python app.py |
| FastAPI | python:3.12-slim | 8000 | uvicorn main:app |
| Plain Python script | python:3.12-slim | — | python main.py |
| Node.js | node:20-slim | 3000 | node index.js |
Python version (3.11 / 3.12 / 3.13), requirements.txt install and the compose file are optional.
License
MIT — see LICENSE.