Change Dockerfile ordering
All checks were successful
CI / backend-lint (push) Successful in 8s
CI / frontend-lint (push) Successful in 29s

This commit is contained in:
Julian Tabel
2026-02-13 15:53:22 +01:00
parent 7a4d5d26b5
commit b7d1c88d5e
2 changed files with 17 additions and 1 deletions

View File

@@ -0,0 +1,11 @@
---
# nuzlocke-tracker-yz9t
title: Optimize backend dev Dockerfile layer caching
status: completed
type: task
priority: normal
created_at: 2026-02-13T14:45:23Z
updated_at: 2026-02-13T14:47:48Z
---
Seed data changes (11MB in src/app/seeds/) invalidate the pip install layer because COPY src/ comes before RUN pip install -e. Fix by creating a minimal package stub before pip install, then copying full source after.