FROM prefecthq/prefect:3-latest

WORKDIR /app

# Install dependencies
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt

# Copy flows
COPY flows/ /app/flows/

# Set Python path
ENV PYTHONPATH=/app/flows
