Parthipan00410's picture
Upload folder using huggingface_hub
13a2db7 verified
raw
history blame contribute delete
365 Bytes
FROM python:3.11-slim
WORKDIR /app
COPY . /app
# Install just the frontend deps
RUN pip install --no-cache-dir -r requirements.txt
# Hugging Face Docker Spaces expect port 7860
EXPOSE 7860
ENV PORT=7860
# Start Streamlit on 0.0.0.0:7860
CMD ["streamlit", "run", "app.py", "--server.port=7860", "--server.address=0.0.0.0", "--server.enableXsrfProtection=false"]