FROM nginx:alpine

# Configuración de nginx (incluye la redirección del QR en "/").
COPY nginx.conf /etc/nginx/conf.d/default.conf

# Solo se publican los archivos del sitio; nginx.conf, Dockerfile, README y
# .git quedan fuera de /usr/share/nginx/html.
COPY index.html 50x.html config.json /usr/share/nginx/html/
COPY assets/ /usr/share/nginx/html/assets/

EXPOSE 80
