From e6ff3c4ce31fc0e50968773f6b22ba7e3d38ef89 Mon Sep 17 00:00:00 2001 From: Aleksey Orekhovsky Date: Fri, 8 Aug 2025 07:13:28 +0700 Subject: [PATCH] Reintroduce commit metadata in the final image (#1737) ## Description: This PR fixes a regression where the `GIT_COMMIT` environment variable was no longer available in the final container image after a recent Dockerfile refactoring. ## Please complete the following: - [X] I have added screenshots for all UI updates - [X] I process any text displayed to the user through translateText() and I've added it to the en.json file - [X] I have added relevant tests to the test directory - [X] I confirm I have thoroughly tested these changes and take full responsibility for any bugs introduced - [X] I have read and accepted the CLA agreement (only required once). ## Please put your Discord username so you can be contacted if a bug or regression is found: aaa4xu --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 8aaf57b8d..bbfe0e2cb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -50,7 +50,8 @@ RUN npm ci # Final image FROM base - +ARG GIT_COMMIT=unknown +ENV GIT_COMMIT="$GIT_COMMIT" RUN apt-get update && apt-get install -y \ nginx \ supervisor \