add version and build info to the settings page

This commit is contained in:
Robin Moser
2021-04-20 15:58:22 +02:00
parent 98c1722dcf
commit 7afab98ab0
4 changed files with 37 additions and 1 deletions

View File

@@ -8,6 +8,12 @@ ENV PHOTOVIEW_API_ENDPOINT=${PHOTOVIEW_API_ENDPOINT}
ARG UI_PUBLIC_URL
ENV UI_PUBLIC_URL=${UI_PUBLIC_URL:-/}
ARG VERSION
ENV VERSION=${VERSION:-undefined}
ARG BUILD_DATE
ENV BUILD_DATE=${BUILD_DATE:-undefined}
RUN mkdir -p /app
WORKDIR /app