madDegen commited on
Commit
54ecad7
Β·
verified Β·
1 Parent(s): 110a3e6

deploy: Dockerfile

Browse files
Files changed (1) hide show
  1. 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"]