From ee5b7fa1b86231d50e11773e020234b926a38095 Mon Sep 17 00:00:00 2001 From: evan Date: Sun, 4 May 2025 12:12:39 -0700 Subject: [PATCH] add commit.txt to check commit server was built at --- Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Dockerfile b/Dockerfile index dd81dbb80..2aa3da0c2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -38,6 +38,10 @@ COPY . . # Build the client-side application RUN npm run build-prod +# So we can see which commit was used to build the container +# openfront.io/commit.txt +RUN echo $GIT_COMMIT > static/commit.txt + # Copy Nginx configuration and ensure it's used instead of the default COPY nginx.conf /etc/nginx/conf.d/default.conf RUN rm -f /etc/nginx/sites-enabled/default