# Lightweight, non-root nginx serving the static site. # Runs as user "nginx" and listens on 8080, ready to sit behind an # external reverse proxy that terminates TLS and forwards requests. FROM nginxinc/nginx-unprivileged:1.31-alpine-slim@sha256:8f92ff79b9e9039b1ec2e363a04ce89c95c30e3d0be545bf6263024f5c21a2a8 COPY default.conf /etc/nginx/conf.d/default.conf COPY --chown=nginx:nginx index.html styles.css script.js messages.js /usr/share/nginx/html/ EXPOSE 8080