Spaces:
Sleeping
Sleeping
| FROM python:3.11-slim | |
| ENV PIP_NO_CACHE_DIR=1 PYTHONUNBUFFERED=1 | |
| RUN apt-get update && apt-get install -y --no-install-recommends \ | |
| build-essential git curl wget && rm -rf /var/lib/apt/lists/* | |
| WORKDIR /app | |
| COPY requirements.txt ./requirements.txt | |
| RUN pip install --upgrade pip && pip install -r requirements.txt | |
| COPY . . | |
| ENV PORT=7860 | |
| CMD ["bash", "app.sh"] | |