Etape 3 + refonte visuelle + corrections etape 2

This commit is contained in:
Chevallier
2026-07-07 09:57:21 +02:00
parent 17e887b268
commit 7b1a975f06
48 changed files with 6551 additions and 59 deletions

View File

@@ -0,0 +1,20 @@
FROM semgrep/semgrep:latest
USER root
RUN sed -i 's/https/http/g' /etc/apk/repositories && \
apk update && apk add --no-cache python3 py3-pip
RUN pip install --no-cache-dir \
--trusted-host pypi.org \
--trusted-host files.pythonhosted.org \
--break-system-packages \
fastapi uvicorn
WORKDIR /app
COPY main.py .
EXPOSE 8004
CMD ["python3", "-m", "uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8004"]