Spaces:
Sleeping
Sleeping
File size: 574 Bytes
75570a5 8cb6e75 75570a5 8cb6e75 75570a5 8cb6e75 75570a5 8cb6e75 75570a5 8cb6e75 75570a5 8cb6e75 75570a5 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | FROM python:3.12-slim
WORKDIR /app
# Install system dependencies
RUN apt-get update && apt-get install -y \
build-essential \
curl \
git \
&& rm -rf /var/lib/apt/lists/*
# Copy requirements and install
COPY requirements.txt ./
RUN pip3 install --no-cache-dir -r requirements.txt
# Copy all files from your root directory into /app
COPY . .
# Hugging Face uses port 7860 by default
EXPOSE 7860
# Point to streamlit_app.py (it is in the root, not src/)
ENTRYPOINT ["streamlit", "run", "streamlit_app.py", "--server.port=7860", "--server.address=0.0.0.0"] |