v2 du système
This commit is contained in:
1 parent
cfc1c532e2
commit
6049131f88
7 files changed
+266
No files matched your search
+20
@@ -0,0 +1,20 @@
|
||||
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