Spaces:
Sleeping
Sleeping
| FROM python:3.11-slim | |
| WORKDIR /app | |
| COPY app.py ./ | |
| COPY public_files ./public_files | |
| RUN apt-get update \ | |
| && apt-get install -y --no-install-recommends git patch unzip bash \ | |
| && pip install --no-cache-dir fastapi uvicorn requests pydantic \ | |
| && rm -rf /var/lib/apt/lists/* | |
| EXPOSE 7860 | |
| CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"] |