- /invitados.html (noindex) con enlace personal ?k=<código>; las respuestas llegan por correo desde contacto@ en lugar de Google Forms. - server.py: /api/invitados/check y /api/invitados (códigos en INVITE_TOKENS). - terminos.html: sección 5 con las condiciones de participación. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TSyR5Zw5eGj6oPTRVjvP1b
14 lines
478 B
Docker
14 lines
478 B
Docker
FROM nginx:1.27-alpine
|
|
RUN apk add --no-cache python3 py3-pillow
|
|
COPY public/ /usr/share/nginx/html/
|
|
COPY build.py /app/build.py
|
|
COPY server.py /app/server.py
|
|
COPY guest_form.json /app/guest_form.json
|
|
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
|
COPY entrypoint.sh /entrypoint.sh
|
|
RUN chmod +x /entrypoint.sh
|
|
ENV SITE_DIR=/usr/share/nginx/html
|
|
EXPOSE 80
|
|
HEALTHCHECK --interval=30s --timeout=3s CMD wget -qO- http://127.0.0.1/ >/dev/null || exit 1
|
|
ENTRYPOINT ["/entrypoint.sh"]
|