Premier commit
Build and Push Docker Image / build-and-push (push) Failing after 38s

This commit is contained in:
pyriec
2026-09-09 18:51:08 +02:00
commit 3d06c9a7ee
8 changed files with 733 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
FROM python:3.11-slim
ENV PYTHONDONTWRITEBYTECODE=1
ENV PYTHONUNBUFFERED=1
ENV USE_ENV=true
WORKDIR /app
RUN apt-get update && apt-get install -y --no-install-recommends \
build-essential \
&& rm -rf /var/lib/apt/lists/*
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
RUN 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
CMD ["python", "main.py"]