Mise à jour du workflow Docker et du Dockerfile
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:
pyriec
2026-09-11 10:20:38 +02:00
parent 2687e6ebbb
commit d7a8318dda
2 changed files with 5 additions and 2 deletions
+3 -1
View File
@@ -55,4 +55,6 @@ jobs:
file: ./Dockerfile
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=registry,ref=${{ steps.prep.outputs.registry }}/${{ steps.prep.outputs.repo_lower }}:buildcache
cache-to: type=registry,ref=${{ steps.prep.outputs.registry }}/${{ steps.prep.outputs.repo_lower }}:buildcache,mode=max
+2 -1
View File
@@ -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 . .