diff --git a/hosting/single/Dockerfile.v2 b/hosting/single/Dockerfile.v2 index 66ce0f1c4d..5b07a51b27 100644 --- a/hosting/single/Dockerfile.v2 +++ b/hosting/single/Dockerfile.v2 @@ -121,7 +121,7 @@ VOLUME /data ARG BUDIBASE_VERSION # Ensuring the version argument is sent RUN test -n "$BUDIBASE_VERSION" -ENV BUDIBASE_VERSION=$VERSION +ENV BUDIBASE_VERSION=$BUDIBASE_VERSION HEALTHCHECK --interval=15s --timeout=15s --start-period=45s CMD "/healthcheck.sh" diff --git a/packages/server/Dockerfile.v2 b/packages/server/Dockerfile.v2 index 5035dc748f..881c21299e 100644 --- a/packages/server/Dockerfile.v2 +++ b/packages/server/Dockerfile.v2 @@ -70,7 +70,7 @@ COPY packages/server/client/ client/ ARG BUDIBASE_VERSION # Ensuring the version argument is sent RUN test -n "$BUDIBASE_VERSION" -ENV BUDIBASE_VERSION=$VERSION +ENV BUDIBASE_VERSION=$BUDIBASE_VERSION EXPOSE 4001 diff --git a/packages/worker/Dockerfile.v2 b/packages/worker/Dockerfile.v2 index 78eba2d3d8..a8be432827 100644 --- a/packages/worker/Dockerfile.v2 +++ b/packages/worker/Dockerfile.v2 @@ -53,6 +53,6 @@ ENV ACCOUNT_PORTAL_URL=https://account.budibase.app ARG BUDIBASE_VERSION # Ensuring the version argument is sent RUN test -n "$BUDIBASE_VERSION" -ENV BUDIBASE_VERSION=$VERSION +ENV BUDIBASE_VERSION=$BUDIBASE_VERSION CMD ["./docker_run.sh"]