From 395906ff22296d3cac959ba045f64606bfa75a1c Mon Sep 17 00:00:00 2001 From: Bernt Christian Egeland Date: Thu, 6 Apr 2023 21:23:21 +0000 Subject: [PATCH] app versoin --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index 67e0b122..46ae04c4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -57,6 +57,9 @@ RUN \ # Production image, copy all the files and run next FROM base AS runner WORKDIR /app +# set the app version as an environment variable. Used in the github action +ARG NEXT_PUBLIC_APP_VERSION +ENV NEXT_PUBLIC_APP_VERSION ${NEXT_PUBLIC_APP_VERSION} ENV NODE_ENV production # Uncomment the following line in case you want to disable telemetry during runtime.