fix pip wheel in dockerfile ()

This commit is contained in:
Shuchang Zheng 2025-04-09 13:34:43 -07:00 committed by GitHub
parent 03d5383a42
commit e3251edb05
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -10,6 +10,7 @@ RUN poetry export -f requirements.txt --output requirements.txt --without-hashes
FROM python:3.11-slim-bookworm
WORKDIR /app
COPY --from=requirements-stage /tmp/requirements.txt /app/requirements.txt
RUN pip install --upgrade pip setuptools wheel
RUN pip install --no-cache-dir --upgrade -r requirements.txt
RUN playwright install-deps
RUN playwright install