bookie / Dockerfile
Enoch1359's picture
Upload folder using huggingface_hub
1e371f7 verified
raw
history blame contribute delete
398 Bytes
FROM python:3.9-slim
ENV PYTHONDONTWRITEBYTECODE=1
ENV PYTHONUNBUFFERED=1
WORKDIR /app
COPY . .
RUN pip install --no-cache-dir -r requirements.txt
RUN pip install python-dotenv
EXPOSE 7860
HEALTHCHECK CMD curl --fail http://localhost:7860/_stcore/health || exit 1
CMD ["streamlit", "run", "bookie.py", "--server.port=7860", "--server.address=0.0.0.0", "--server.enableXsrfProtection=false"]