From 3331b9a94bdb61e975b88b1049a43d7f907c0e53 Mon Sep 17 00:00:00 2001
From: Alen Zubic <alen.zubic@relaymonkey.com>
Date: Wed, 30 Aug 2023 21:43:54 +0200
Subject: [PATCH] feat: Embed VITE_GRAPHPOLARIS_VERSION from IMAGE_TAG
 Dockerfile argument

---
 Dockerfile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Dockerfile b/Dockerfile
index 85f1344cf..eb6b5f840 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -6,6 +6,8 @@ COPY . /app
 WORKDIR /app
 
 FROM base AS build
+ARG IMAGE_TAG="dev-no-image-tag"
+ENV VITE_GRAPHPOLARIS_VERSION=$IMAGE_TAG
 RUN pnpm install --frozen-lockfile
 # Fixes: FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
 ENV NODE_OPTIONS="--max-old-space-size=4096"
-- 
GitLab