Initial commit: QR code generator (encodage et rendu côté navigateur)

This commit is contained in:
florian committed 2026-08-27 15:19:52 +02:00
commit 8be33ed3f6
11 files changed
+2864

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
# Image "unprivileged" officielle : nginx tourne nativement en non-root, écoute sur un port >1024
FROM nginxinc/nginx-unprivileged:1.27-alpine
USER root
RUN rm -rf /usr/share/nginx/html/* /etc/nginx/conf.d/default.conf
COPY nginx.conf /etc/nginx/conf.d/default.conf
COPY app/ /usr/share/nginx/html/
RUN chown -R nginx:nginx /usr/share/nginx/html
USER nginx
EXPOSE 8080
HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \
CMD wget -qO- http://127.0.0.1:8080/healthz || exit 1