Dashboard chart flow

This commit is contained in:
mr
2024-07-17 13:28:02 +02:00
parent 7e4687853f
commit dce96e338c
136 changed files with 9016 additions and 425 deletions

View File

@@ -5,6 +5,11 @@ FROM debian:latest AS build-env
RUN apt-get update
RUN apt-get install -y curl git unzip
ARG WORKSPACE_HOST="https://localhost:49618"
ARG WORKFLOW_HOST="https://localhost:49618"
ARG SEARCH_HOST="https://localhost:49618"
ARG ITEM_HOST="https://localhost:49618"
# define variables
ARG FLUTTER_SDK=/usr/local/flutter
ARG FLUTTER_VERSION=3.19.6
@@ -32,8 +37,11 @@ WORKDIR $APP
# Run build: 1 - clean, 2 - pub get, 3 - build web
RUN flutter clean
RUN flutter pub get
RUN flutter build web
RUN flutter build web \
--dart-define=WORKSPACE_HOST=$WORKSPACE_HOST \
--dart-define=WORKFLOW_HOST=$WORKFLOW_HOST \
--dart-define=SEARCH_HOST=$SEARCH_HOST \
--dart-define=ITEM_HOST=$ITEM_HOST
# once heare the app will be compiled and ready to deploy
# use nginx to deploy