WIP:update flatpak configs
This commit is contained in:
+2
-1
@@ -14,9 +14,10 @@ ENV PATH="/usr/local/flutter/bin:/usr/local/flutter/bin/cache/dart-sdk/bin:${PAT
|
||||
RUN flutter config --enable-web && flutter precache --web
|
||||
WORKDIR /app
|
||||
COPY pubspec.yaml pubspec.lock ./
|
||||
RUN flutter clean
|
||||
RUN flutter pub get
|
||||
COPY . .
|
||||
RUN flutter build web --release -t ./lib/main_prod.dart
|
||||
RUN flutter build web --release -t ./lib/main_prod.dart -v
|
||||
|
||||
# --- STAGE 2: The Final Production Image ---
|
||||
FROM nginx:alpine
|
||||
|
||||
Reference in New Issue
Block a user