1
0

Add logging frontend version to console on startup

This commit is contained in:
kolaente
2020-05-09 21:39:46 +02:00
parent 48df1a44e8
commit 8789135eed
4 changed files with 9 additions and 0 deletions

View File

@ -8,6 +8,7 @@ COPY . ./
RUN \
# Build the frontend
yarn install --frozen-lockfile && \
echo '{"VERSION": "'$(git describe --tags --always --abbrev=10 | sed 's/-/+/' | sed 's/^v//' | sed 's/-g/-/')'"}' > version.json && \
yarn run build
# Stage 2: copy