Dashboard chart flow
This commit is contained in:
12
Dockerfile
12
Dockerfile
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user