added docker npm-build stuff, fixed loading icon on non dynamic slider

This commit is contained in:
Eike Ahmels 2021-02-26 09:04:23 +01:00
parent d953cab29c
commit 1a18af1569
No known key found for this signature in database
GPG Key ID: C7C95B84BC4F55BD
3 changed files with 15 additions and 8 deletions

View File

@ -2,6 +2,9 @@ FROM node:buster AS base
EXPOSE 8080
RUN apt-get update
RUN apt-get install -y zip
COPY start-npm /usr/local/bin/start-npm
RUN chmod +x /usr/local/bin/start-npm

View File

@ -7,6 +7,8 @@ if [ $# -gt 0 ]; then
docker-compose restart "$2"
elif [ "$1" == "bash" ]; then
docker exec -it "$APP_NAME-stack-$2" bash
elif [ "$1" == "npm-build" ]; then
docker exec "$APP_NAME-stack-npm" npm run build
else
docker-compose "$@"
fi

View File

@ -21,14 +21,16 @@
</v-btn>
<v-spacer></v-spacer>
<span class="font-weight-bold">
<v-progress-circular
v-if="sliding && (value === processedMin || value === processedMax)"
class="mr-2"
indeterminate
color="info"
:size="20"
:width="2"
></v-progress-circular>
<template v-if="dynamicRange">
<v-progress-circular
v-if="sliding && (value === processedMin || value === processedMax)"
class="mr-2"
indeterminate
color="info"
:size="20"
:width="2"
></v-progress-circular>
</template>
{{ value }} {{ unit }}
</span>
</v-subheader>