add site web 002
build / build (push) Successful in 56s

This commit is contained in:
hcornet committed 2026-09-21 18:30:14 +02:00
1 parent 1121efecd5
commit e9e9cfeb7f
12 files changed
+2 -1

No files matched your search

+1
View File
@@ -30,6 +30,7 @@ RUN groupadd --gid 10001 app \
COPY --from=builder /opt/venv /opt/venv
WORKDIR /app
COPY app ./app
COPY web ./web
USER app
EXPOSE 8000
HEALTHCHECK --interval=30s --timeout=5s --start-period=10s --retries=3 \
+1 -1
View File
@@ -4,7 +4,7 @@ from fastapi import Request
from fastapi.responses import HTMLResponse
from fastapi.templating import Jinja2Templates
templates = Jinja2Templates(directory=Path(__file__).parent / "templates")
templates = Jinja2Templates(directory=Path(__file__).resolve().parent.parent / "web")
# Les données sont saisissables via l'API : échappement automatique Jinja2 + CSP stricte.
CSP = (
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.