diff --git a/hosting/single/Dockerfile.v2 b/hosting/single/Dockerfile.v2 index a983f10044..ecc223be15 100644 --- a/hosting/single/Dockerfile.v2 +++ b/hosting/single/Dockerfile.v2 @@ -118,6 +118,9 @@ EXPOSE 443 EXPOSE 2222 VOLUME /data +ARG VERSION +RUN test -n "$VERSION" +ENV VERSION=$VERSION HEALTHCHECK --interval=15s --timeout=15s --start-period=45s CMD "/healthcheck.sh"