Spaces:
Sleeping
Sleeping
FROM python:3.9-slim | |
WORKDIR /code | |
# Copy all files | |
COPY . . | |
# Install dependencies | |
RUN pip install --no-cache-dir -r requirements.txt | |
# Fix for Hugging Face “bare mode” | |
RUN apt-get update && apt-get install -y curl | |
# Streamlit port | |
EXPOSE 7860 | |
# Force Streamlit to run explicitly | |
CMD streamlit run app.py --server.port=7860 --server.enableCORS=false | |