Ajout de la variable d'environnement PLAYWRIGHT_BROWSERS_PATH dans le Dockerfile.
Build and Push Docker Image / build-and-push (push) Failing after 6m53s
Build and Push Docker Image / build-and-push (push) Failing after 6m53s
- Mise à jour de la configuration pour Playwright. - Suppression du commentaire sur la vérification de santé Docker.
This commit is contained in:
+1
-1
@@ -3,6 +3,7 @@ FROM python:3.11-slim
|
||||
ENV PYTHONDONTWRITEBYTECODE=1
|
||||
ENV PYTHONUNBUFFERED=1
|
||||
ENV USE_ENV=true
|
||||
ENV PLAYWRIGHT_BROWSERS_PATH=/ms-playwright
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
@@ -17,7 +18,6 @@ RUN python -m playwright install --with-deps chromium
|
||||
|
||||
COPY . .
|
||||
|
||||
# Configuration de la vérification de santé Docker
|
||||
HEALTHCHECK --interval=1m --timeout=10s --start-period=30s --retries=3 \
|
||||
CMD python healthcheck.py
|
||||
|
||||
|
||||
Reference in New Issue
Block a user