Avoid double zipping of assets
This commit is contained in:
committed by
Dat H. Pham
parent
41d9cd5a4c
commit
769069f125
+1
-2
@@ -37,8 +37,7 @@ RUN cd core \
|
||||
&& flutter pub get && flutter pub run build_runner build --delete-conflicting-outputs \
|
||||
&& flutter pub get && flutter pub run intl_generator:extract_to_arb --output-dir=./lib/l10n lib/main/localizations/app_localizations.dart \
|
||||
&& flutter pub get && flutter pub run intl_generator:generate_from_arb --output-dir=lib/l10n --no-use-deferred-loading lib/main/localizations/app_localizations.dart lib/l10n/intl*.arb \
|
||||
&& flutter build web --profile \
|
||||
&& gzip -r -k /app/build/web
|
||||
&& flutter build web --profile
|
||||
|
||||
# Stage 2 - Create the run-time image
|
||||
FROM nginx:stable
|
||||
|
||||
Reference in New Issue
Block a user