File size: 1,173 Bytes
a239fd0
 
 
 
 
 
 
 
 
 
 
 
 
 
587a9fe
 
 
 
 
 
 
a239fd0
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# ─────────────────────────────────────────────────────────────
# Base image
FROM python:3.11-slim

# ─────────────────────────────────────────────────────────────
# Install Python deps
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt

# ─────────────────────────────────────────────────────────────
# Copy your code
COPY . .

# persist Qdrant data across restarts
ENV QDRANT_PERSIST=./qdrant_data
VOLUME ["/app/qdrant_data"]

EXPOSE 7860
ENV STREAMLIT_SERVER_HEADLESS=true

# ─────────────────────────────────────────────────────────────
# Run Streamlit
CMD ["streamlit", "run", "app.py", "--server.port", "7860", "--server.address", "0.0.0.0"]