mirror of
https://github.com/R0m1k3/xtremflow.git
synced 2026-10-11 17:30:00 +02:00
Merge pull request #3 from R0m1k3/antigravity
feat: Add .dockerignore and configure Dockerfile for Flutter web buil…
This commit is contained in:
commit
2f64ef1867
3 files changed
+28
-1
No files matched your search
@@ -0,0 +1,21 @@
|
||||
# Git
|
||||
.git
|
||||
.gitignore
|
||||
|
||||
# Flutter/Dart
|
||||
.dart_tool/
|
||||
.flutter-plugins
|
||||
.flutter-plugins-dependencies
|
||||
.packages
|
||||
.pub-cache/
|
||||
.pub/
|
||||
build/
|
||||
|
||||
# IDEs
|
||||
.idea/
|
||||
.vscode/
|
||||
*.iml
|
||||
|
||||
# OS
|
||||
.DS_Store
|
||||
Thumbs.db
|
||||
+1
-1
@@ -45,7 +45,7 @@ app.*.map.json
|
||||
/android/app/release
|
||||
|
||||
# Docker
|
||||
.dockerignore
|
||||
|
||||
|
||||
# Hive data (local development)
|
||||
*.hive
|
||||
|
||||
@@ -5,6 +5,12 @@ FROM ghcr.io/cirruslabs/flutter:stable AS builder
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
# Safe directory configuration for git
|
||||
RUN git config --global --add safe.directory /app
|
||||
|
||||
# Enable web support (idempotent)
|
||||
RUN flutter config --enable-web
|
||||
|
||||
# Copy dependency files first for better caching
|
||||
COPY pubspec.yaml ./
|
||||
|
||||
|
||||
Reference in new issue
Block a user