From 404812dd5dbd22f361a9ae604246a0f5c28ddb13 Mon Sep 17 00:00:00 2001 From: bkioshn Date: Fri, 31 May 2024 22:18:49 +0700 Subject: [PATCH] fix: flutter build target --- catalyst_voices/Earthfile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/catalyst_voices/Earthfile b/catalyst_voices/Earthfile index 601926fe5c..4ef247149b 100644 --- a/catalyst_voices/Earthfile +++ b/catalyst_voices/Earthfile @@ -48,8 +48,9 @@ check-code-formatting: # Build web version of Catalyst Voices build: FROM +src - WORKDIR /frontend/catalyst_voices - DO flutter-ci+BUILD_WEB --TARGET=lib/configs/main_web.dart + ARG WORKDIR=/frontend/catalyst_voices + DO flutter-ci+BUILD_WEB --TARGET=lib/configs/main_web.dart --WORKDIR=$WORKDIR + SAVE ARTIFACT web test-unit: FROM +src @@ -58,7 +59,7 @@ test-unit: package: FROM nginx:alpine3.18 ARG tag='latest' - BUILD +build + COPY +build/web web COPY ./nginx.conf /etc/nginx/nginx.conf EXPOSE 80