Spaces:
Build error
Build error
deploy: Dockerfile
Browse files- Dockerfile +28 -0
Dockerfile
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
|
| 2 |
+
# Agent-Q3 Python app image β used by the multimodal, coder, and research services.
|
| 3 |
+
# Ollama runs in its own container (ollama/ollama image) β see docker-compose.yml.
|
| 4 |
+
# βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
|
| 5 |
+
FROM python:3.11-slim
|
| 6 |
+
|
| 7 |
+
# System deps
|
| 8 |
+
RUN apt-get update && apt-get install -y \
|
| 9 |
+
curl ca-certificates \
|
| 10 |
+
&& rm -rf /var/lib/apt/lists/*
|
| 11 |
+
|
| 12 |
+
WORKDIR /app
|
| 13 |
+
|
| 14 |
+
# Python deps
|
| 15 |
+
COPY requirements.txt .
|
| 16 |
+
RUN pip install --no-cache-dir --upgrade pip \
|
| 17 |
+
&& pip install --no-cache-dir -r requirements.txt
|
| 18 |
+
|
| 19 |
+
# Source
|
| 20 |
+
COPY orchestrator/ ./orchestrator/
|
| 21 |
+
COPY config/ ./config/
|
| 22 |
+
|
| 23 |
+
EXPOSE 8000 8001 8002
|
| 24 |
+
|
| 25 |
+
# Default command runs the multimodal orchestrator.
|
| 26 |
+
# docker-compose overrides this per-service for coder/research.
|
| 27 |
+
CMD ["python", "-m", "uvicorn", "orchestrator.main:app", \
|
| 28 |
+
"--host", "0.0.0.0", "--port", "8000", "--log-level", "info"]
|