From 4f1cdd216fb76d5703ccd8a5667bca43ec9e57fd Mon Sep 17 00:00:00 2001 From: gsd Date: Wed, 28 Aug 2024 14:45:36 +0300 Subject: [PATCH] build version --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 2379356..566d6f4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -41,6 +41,7 @@ RUN cd backend && python3 config_parser.py --no-hide-check --err-check #setup frontend COPY frontend /app/frontend RUN cd frontend/ang_dvrip \ + && echo "export const version = \"$(date +"%H:%M %d/%m/%y")\"" > ./src/app/version.ts \ && npm install --reg https://nexus.pblr-nyk.pro/repository/npm/ \ && npm run ng build \ && rm -r /var/www/html \