trustpilot-proxy / Dockerfile
XciD's picture
XciD HF Staff
feat: switch to Playwright with 48h refresh
702687b unverified
raw
history blame contribute delete
285 Bytes
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"]