chore: ajout du .gitignore et des fichiers d'infrastructure de base (docker, env)

This commit is contained in:
xavier committed 2026-10-06 23:13:37 +02:00
1 parent 2a5b7765a2
commit 04fde3384d
9 files changed
+101

No files matched your search

+22
View File
@@ -0,0 +1,22 @@
FROM python:3.13-slim
WORKDIR /app
# Installation de LibreOffice (Headless) et dépendances système
RUN apt-get update && apt-get install -y \
libreoffice-calc \
libreoffice-writer \
libreoffice-impress \
libreoffice-common \
curl \
&& rm -rf /var/lib/apt/lists/*
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Copie du code source
COPY . .
EXPOSE 5001
CMD ["uvicorn", "backend.main:app", "--host", "0.0.0.0", "--port", "5001"]