Spaces:
Running
Running
| FROM python:3.11-slim | |
| ENV PYTHONUNBUFFERED=1 \ | |
| PIP_NO_CACHE_DIR=1 | |
| WORKDIR /app | |
| RUN apt-get update \ | |
| && apt-get install -y --no-install-recommends gcc libc-dev ca-certificates git \ | |
| && rm -rf /var/lib/apt/lists/* | |
| COPY requirements.txt /app/requirements.txt | |
| RUN pip install --upgrade pip setuptools wheel \ | |
| && pip install --no-cache-dir -r /app/requirements.txt | |
| COPY . /app | |
| EXPOSE 8501 | |
| CMD streamlit run app.py --server.port=8501 --server.address=0.0.0.0 --server.headless=true | |