mirror of
https://github.com/R0m1k3/xtremflow.git
synced 2026-10-11 17:30:00 +02:00
fix(docker): move CACHEBUST ARG before COPY to properly invalidate Flutter web build cache
This commit is contained in:
1 parent
9107eadc73
commit
93cecfc6d3
1 file changed
+3
-1
+3
-1
@@ -16,8 +16,10 @@ ENV DART_VM_OPTIONS="--old_gen_heap_size=4096"
|
||||
# Enable web support (idempotent)
|
||||
RUN flutter config --enable-web
|
||||
|
||||
# Force cache invalidation when source changes (update this value to force rebuild)
|
||||
ARG CACHEBUST=2026-03-08-v3
|
||||
|
||||
# Copy dependency files first for better caching
|
||||
ARG CACHEBUST=2026-01-07-v1
|
||||
COPY pubspec.yaml ./
|
||||
|
||||
# Get dependencies
|
||||
|
||||
Reference in new issue
Block a user