Spaces:
Runtime error
Runtime error
MiniMax Agent
Add complete local Ollama setup with OpenELM - includes setup script, API server, test scripts, and documentation
41831f1
| # 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"] | |