From 6102459637f320dbab6574e73bf22d1602c91052 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Kucharczyk?= Date: Tue, 3 Jan 2023 22:04:46 +0100 Subject: [PATCH] Set VERSION_NUMBER in Dockerfile --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 7b0de02..b3e1b9e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,4 +12,5 @@ COPY entrypoint.sh / RUN chmod +x /entrypoint.sh USER timetracker EXPOSE 8000 +ENV VERSION_NUMBER $(git describe --tags --abbrev=0) ENTRYPOINT [ "/entrypoint.sh" ] \ No newline at end of file