simple-qa-app / Dockerfile
Arcelily's picture
Upload 5 files
a2d9f84 verified
Raw History Blame Contribute Delete
357 Bytes
# Use Hugging Face Space minimal image
FROM python:3.10-slim
WORKDIR /app
# Copy files
COPY . /app
# Install dependencies
RUN pip install --no-cache-dir -r requirements.txt
# Expose Streamlit port
ENV PORT 8501
ENV STREAMLIT_SERVER_ENABLECORS "false"
CMD ["streamlit", "run", "streamlit_app.py", "--server.port", "8501", "--server.address", "0.0.0.0"]