# Example Dockerfiles

This directory contains example Dockerfiles generated by ML Environment Doctor.

## Usage

To generate a Dockerfile for your project:

```bash
# Generate Dockerfile for a specific model
mlenvdoctor dockerize mistral-7b

# Generate FastAPI service Dockerfile
mlenvdoctor dockerize --service

# Custom output location
mlenvdoctor dockerize tinyllama -o docker/Dockerfile.tinyllama
```

## Building and Running

```bash
# Build
docker build -f Dockerfile.mlenvdoctor -t mlenvdoctor .

# Run with GPU
docker run --gpus all mlenvdoctor

# Run with GPU and data volume
docker run --gpus all -v $(pwd)/data:/app/data mlenvdoctor
```

