# Dockerfile for the API server that uses Ollama FROM python:3.10-slim WORKDIR /app # Install dependencies COPY requirements_local.txt . RUN pip install --no-cache-dir -r requirements_local.txt # Copy application COPY app_ollama.py . # Expose port EXPOSE 8000 # Run the API server CMD ["python", "app_ollama.py"]