fix production deployment: CSS, images and theme seeding
- Add @source for shop_components/ directory in app-shop.css (Tailwind wasn't scanning sub-modules after the refactor, dropping ~73 utilities) - Remove overly aggressive .dockerignore rules that excluded mockup image variants needed by the responsive_image component - Seed default theme settings on first boot via Release.seed_defaults/0 in the supervision tree (seeds.exs doesn't run in releases) - Fix PDP gallery images for mock data by appending -1200.webp to bare mockup base paths - Update fly.toml format from fly launch Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -40,13 +40,5 @@ docs/
|
||||
# Generated image variants (regenerated on startup from DB)
|
||||
priv/static/image_cache/
|
||||
|
||||
# Mockup variants, digested copies, and converted formats.
|
||||
# Only the source .webp files (no size suffix) should enter the build context —
|
||||
# phx.digest creates its own hash-suffixed copies inside the builder.
|
||||
priv/static/mockups/*-400*
|
||||
priv/static/mockups/*-800*
|
||||
priv/static/mockups/*-1200*
|
||||
priv/static/mockups/*-thumb*
|
||||
priv/static/mockups/*.avif
|
||||
priv/static/mockups/*.jpg
|
||||
# Mockup .gz files (phx.digest creates its own inside the builder)
|
||||
priv/static/mockups/*.gz
|
||||
|
||||
Reference in New Issue
Block a user