10 lines
467 B
Docker
10 lines
467 B
Docker
# 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:021f32b23e2bfc8610ccdec499b709625dcee1369884d7a51bd8a23a3accb301
|
|
|
|
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
|