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.