Mise à jour du workflow Docker et du Dockerfile
Build and Push Docker Image / build-and-push (push) Successful in 6m1s
Build and Push Docker Image / build-and-push (push) Successful in 6m1s
- Ajout de la gestion du cache pour la construction de l'image Docker. - Correction de l'installation de Playwright pour utiliser uniquement chromium-headless-shell.
This commit is contained in:
+2
-1
@@ -14,7 +14,8 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
COPY requirements.txt .
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
RUN python -m playwright install --with-deps chromium
|
||||
# Seulement chromium-headless-shell, pas le Chrome complet
|
||||
RUN python -m playwright install --with-deps chromium-headless-shell
|
||||
|
||||
COPY . .
|
||||
|
||||
|
||||
Reference in New Issue
Block a user