mirror of
https://github.com/R0m1k3/xtremobile.git
synced 2026-10-11 17:29:26 +02:00
feat: Add .dockerignore and configure Dockerfile for Flutter web build with updated base image.
This commit is contained in:
1 parent
92adafd963
commit
1b4e20c418
3 files changed
+29
-2
No files matched your search
+7
-1
@@ -1,10 +1,16 @@
|
||||
# ============================================
|
||||
# Stage 1: Build Flutter Web Application
|
||||
# ============================================
|
||||
FROM cirrusci/flutter:stable AS builder
|
||||
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 pubspec.lock ./
|
||||
|
||||
|
||||
Reference in new issue
Block a user