streamlit / Dockerfile
skytinstone's picture
Upload 3 files
31f4f04 verified
raw
history blame contribute delete
430 Bytes
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"]