From 8ee2b45b5b889924e91f25f8072dbd584680315e Mon Sep 17 00:00:00 2001 From: Elizabeth Alexander Hunt Date: Thu, 23 Jul 2026 10:01:16 -0700 Subject: Add commit hash --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile index 18fb23b..749feba 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,6 +9,9 @@ RUN rm -f /usr/share/nginx/html/index.html /usr/share/nginx/html/50x.html COPY html /usr/share/nginx/html COPY nginx.conf /etc/nginx/conf.d/default.conf +ARG COMMIT=unknown +RUN printf '%s' "$COMMIT" > /usr/share/nginx/commit + EXPOSE 80 CMD ["sh", "-c", "php-fpm84 -D && nginx -g 'daemon off;'"] -- cgit v1.3