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 EXPOSE 8080
RUN apt-get update
RUN apt-get install -y zip
COPY start-npm /usr/local/bin/start-npm COPY start-npm /usr/local/bin/start-npm
RUN chmod +x /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" docker-compose restart "$2"
elif [ "$1" == "bash" ]; then elif [ "$1" == "bash" ]; then
docker exec -it "$APP_NAME-stack-$2" bash docker exec -it "$APP_NAME-stack-$2" bash
elif [ "$1" == "npm-build" ]; then
docker exec "$APP_NAME-stack-npm" npm run build
else else
docker-compose "$@" docker-compose "$@"
fi fi

View File

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