From 8a252df91fd8af2e6f150992df9edbd1e9d73e67 Mon Sep 17 00:00:00 2001 From: Daniel Date: Tue, 21 Nov 2023 21:00:14 +0100 Subject: [PATCH] change install order --- Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 67103e7..3f2f854 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,9 +2,11 @@ FROM python:3.12-slim WORKDIR /code -COPY ./requirements.txt ./ -RUN pip install --no-cache-dir -r requirements.txt +RUN pip install --no-cache-dir pytest-playwright RUN playwright install RUN playwright install-deps + +COPY ./requirements.txt ./ +RUN pip install --no-cache-dir -r requirements.txt