Skip to content

Commit

Permalink
fix: flutter build target
Browse files Browse the repository at this point in the history
  • Loading branch information
bkioshn committed May 31, 2024
1 parent 8414149 commit 404812d
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions catalyst_voices/Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

Expand Down

0 comments on commit 404812d

Please sign in to comment.