mirror of
https://github.com/R0m1k3/xtremflow.git
synced 2026-10-23 06:58:05 +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
|
/android/app/release
|
||||||
|
|
||||||
# Docker
|
# Docker
|
||||||
.dockerignore
|
|
||||||
|
|
||||||
# Hive data (local development)
|
# Hive data (local development)
|
||||||
*.hive
|
*.hive
|
||||||
|
|||||||
@@ -5,6 +5,12 @@ FROM ghcr.io/cirruslabs/flutter:stable AS builder
|
|||||||
|
|
||||||
WORKDIR /app
|
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 dependency files first for better caching
|
||||||
COPY pubspec.yaml ./
|
COPY pubspec.yaml ./
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user