Add version to single image

This commit is contained in:
Adria Navarro 2023-10-20 17:20:14 +02:00
parent 9dacb5849b
commit 133e475257
1 changed files with 3 additions and 0 deletions

View File

@ -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"