From 133e4752576c27bd2f41f68578236aa31b7a48e4 Mon Sep 17 00:00:00 2001 From: Adria Navarro Date: Fri, 20 Oct 2023 17:20:14 +0200 Subject: [PATCH] Add version to single image --- hosting/single/Dockerfile.v2 | 3 +++ 1 file changed, 3 insertions(+) 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"