Spaces:
Runtime error
Runtime error
| FROM python:3.11-slim | |
| WORKDIR /app | |
| RUN apt-get update && apt-get install -y --no-install-recommends curl unzip && \ | |
| curl -fsSL https://deno.land/install.sh | DENO_INSTALL=/usr/local sh && \ | |
| pip install --no-cache-dir fastapi uvicorn yt-dlp && \ | |
| apt-get clean && rm -rf /var/lib/apt/lists/* | |
| COPY app.py . | |
| EXPOSE 7860 | |
| CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"] | |