Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 19 additions & 2 deletions site/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
FROM nginx:alpine
# Static preview image for scorecrux.com.
#
# Chainguard nginx (rebuilt daily, zero known CVEs) per CLAUDE.md container policy.
# Free-tier Chainguard is :latest-only, so this base cannot carry a digest pin.
#
# Two behavioural differences vs the previous nginx:alpine base:
# * it runs as non-root (uid 65532), so it cannot bind a privileged port;
# * its bundled conf.d/nginx.default.conf therefore listens on 8080, not 80.
# The document root is unchanged (/usr/share/nginx/html), so the COPY below is
# the same as before and no custom nginx config is needed.
#
# The base sets ENTRYPOINT ["/usr/sbin/nginx"] plus a CMD carrying the config
# flags; both are deliberately left alone. The runtime has no shell, so anything
# added here must be exec form.
#
# docker build -t scorecrux-site site/
# docker run --rm -p 8888:8080 scorecrux-site # was -p 8888:80
FROM cgr.dev/chainguard/nginx:latest
COPY index.html /usr/share/nginx/html/index.html
EXPOSE 80
EXPOSE 8080
Loading