v2.0.0 - Validation Étape 1 et configuration des fournisseurs
Build and Push Docker Image / build-and-push (push) Failing after 27s
Build and Push Docker Image / build-and-push (push) Failing after 27s
This commit is contained in:
1 parent
1e7b07452b
commit
42aaf4a629
8 files changed
+213
-686
No files matched your search
-20
@@ -1,20 +0,0 @@
|
||||
FROM python:3.13-slim
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
# Installation des dépendances système de base
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
build-essential \
|
||||
curl \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Copie et installation des bibliothèques Python
|
||||
COPY requirements.txt .
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
# Copie du code source
|
||||
COPY . .
|
||||
|
||||
EXPOSE 5001
|
||||
|
||||
CMD ["python", "main.py"]
|
||||
Reference in new issue
Block a user