File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -51,6 +51,8 @@ RUN apt-get update && apt-get install -y curl git unzip && apt-get clean
5151
5252RUN chsh -s /bin/bash
5353
54+ ENV FVM_ALLOW_ROOT=true
55+
5456# Install FVM
5557RUN curl -fsSL https://fvm.app/install.sh | bash
5658
@@ -91,7 +93,7 @@ RUN sed -i "s/RELEASE_DATE=.*/RELEASE_DATE=$(cat .release_date)/g" .env
9193RUN fvm flutter pub get
9294
9395# Build the app without tree shaking icons because it currently crashes the build (idk if its a package issue or a flutter issue)
94- RUN fvm flutter build web --release -o /usr/share/nginx/html --dart-define-from-file=.env -O 1 - -no-tree-shake-icons --base-href $(echo $BASE_HREF | tr -d '"' )
96+ RUN fvm flutter build web --release -o /usr/share/nginx/html --dart-define-from-file=.env --no-tree-shake-icons --base-href $(echo $BASE_HREF | tr -d '"' )
9597
9698RUN sed -i "s/secondsSinceEpoch/$(date +%s)/g" /usr/share/nginx/html/index.html
9799
You can’t perform that action at this time.
0 commit comments