File size: 430 Bytes
80f81bd
 
 
 
 
 
31f4f04
 
 
 
 
80f81bd
 
 
 
 
31f4f04
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
FROM python:3.13.5-slim

WORKDIR /app

COPY requirements.txt ./

RUN pip3 install --no-cache-dir -r requirements.txt

COPY src/ ./src/
COPY data/ ./data/
COPY faiss_index/ ./faiss_index/

EXPOSE 8501

HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health

ENTRYPOINT ["streamlit", "run", "src/app.py", "--server.port=8501", "--server.address=0.0.0.0", "--server.enableCORS=false", "--server.enableXsrfProtection=false"]