Spaces:
Running on CPU Upgrade
Running on CPU Upgrade
| FROM mcr.microsoft.com/playwright/python:v1.49.0-jammy | |
| WORKDIR /app | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY app.py . | |
| ENV HOME=/tmp | |
| ENV PLAYWRIGHT_BROWSERS_PATH=/ms-playwright | |
| CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"] | |