add commit.txt to check commit server was built at

This commit is contained in:
evan
2025-05-04 12:12:39 -07:00
parent f6fdbc8374
commit ee5b7fa1b8
+4
View File
@@ -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