feat(localization): add localization generation step and update l10n configuration
This commit is contained in:
@@ -8,6 +8,9 @@ RUN flutter pub get
|
||||
|
||||
COPY . .
|
||||
|
||||
# Generate localizations (ARB -> Dart) before the main build.
|
||||
RUN flutter gen-l10n
|
||||
|
||||
# Inject API base URL at build time via --dart-define.
|
||||
# Default to same-origin /api to avoid mixed-content in HTTPS deployments.
|
||||
ARG API_BASE_URL=/api
|
||||
|
||||
Reference in New Issue
Block a user