From dd46f8b6332086d7833a59c46dcc3a404b9a9da2 Mon Sep 17 00:00:00 2001 From: Fred Clausen <43556888+fredclausen@users.noreply.github.com> Date: Sun, 19 Nov 2023 14:00:11 -0700 Subject: [PATCH] Update Dockerfile --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index da2a06f49..ed97e820a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -99,12 +99,12 @@ RUN set -x && \ # and we want to extract the version number and echo it out to /acarshub_version # get the acarshub version from the js file along with the build number ACARS_VERSION=$(grep -oP 'ACARS Hub: v\K[0-9\.]+' /webapp/static/js/acarshub.*.js) && \ - ACARSHUB_BUILD=$(grep -oP 'ACARS Hub: v\K[0-9\.]+ Build \K[0-9]+' /webapp/static/js/acarshub.*.js) && \ + ACARS_BUILD=$(grep -oP 'ACARS Hub: v\K[0-9\.]+ Build \K[0-9]+' /webapp/static/js/acarshub.*.js) && \ # echo the version and build number to /acarshub_version # check and see if we have a build number and version. If not, set it to 0 # This will be for local non-github versions if [ -z "${ACARS_VERSION}" ]; then ACARS_VERSION="0.0.0"; fi && \ - if [ -z "${ACARSHUB_BUILD}" ]; then ACARSHUB_BUILD="0"; fi && \ + if [ -z "${ACARS_BUILD}" ]; then ACARS_BUILD="0"; fi && \ printf "v%s Build %s\nv%sBuild%s" "$ACARS_VERSION" "$ACARS_BUILD" "${ACARS_VERSION}" "$ACARS_BUILD" > /acarshub_version EXPOSE 80