- Alpine multi-stage Dockerfile (131 MB image) - Release overlays (bin/server, bin/migrate), env.sh, Release module - Health check endpoint at GET /health - Fly.io config with SQLite volume mount - Fix hardcoded paths in optimizer.ex and variant_cache.ex to use Application.app_dir/2 (breaks in releases where Plug.Static serves from a different directory than CWD) - strip_beams: true in release config - Optimised .dockerignore and .gitignore for mockup variants Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
74 lines
1.9 KiB
Plaintext
74 lines
1.9 KiB
Plaintext
# The directory Mix will write compiled artifacts to.
|
|
/_build/
|
|
|
|
# If you run "mix test --cover", coverage assets end up here.
|
|
/cover/
|
|
|
|
# The directory Mix downloads your dependencies sources to.
|
|
/deps/
|
|
|
|
# Where 3rd-party dependencies like ExDoc output generated docs.
|
|
/doc/
|
|
|
|
# Ignore .fetch files in case you like to edit your project deps locally.
|
|
/.fetch
|
|
|
|
# If the VM crashes, it generates a dump, let's ignore it too.
|
|
erl_crash.dump
|
|
|
|
# Also ignore archive artifacts (built via "mix archive.build").
|
|
*.ez
|
|
|
|
# Temporary files, for example, from tests.
|
|
/tmp/
|
|
|
|
# Ignore package tarball (built via "mix hex.build").
|
|
simpleshop_theme-*.tar
|
|
|
|
# Ignore assets that are produced by build tools.
|
|
/priv/static/assets/
|
|
|
|
# Ignore digested assets cache.
|
|
/priv/static/cache_manifest.json
|
|
|
|
# Ignore digested versions of static files (with hash in filename)
|
|
# Keep source files, ignore build outputs
|
|
/priv/static/*-*.css
|
|
/priv/static/*-*.css.gz
|
|
/priv/static/*-*.js
|
|
/priv/static/*-*.js.gz
|
|
/priv/static/*-*.ico
|
|
/priv/static/*-*.txt
|
|
/priv/static/*-*.txt.gz
|
|
/priv/static/*-*.html
|
|
/priv/static/*-*.html.gz
|
|
/priv/static/*.gz
|
|
# Digested fonts have 32-char hash before extension
|
|
/priv/static/fonts/*-????????????????????????????????.woff2
|
|
/priv/static/images/*-*.svg
|
|
/priv/static/images/*-*.svg.gz
|
|
/priv/static/images/*.gz
|
|
|
|
# Generated mockup variants, digested copies, and converted formats.
|
|
# Only source .webp files (no size suffix) are tracked — everything else regenerates.
|
|
/priv/static/mockups/*-400*
|
|
/priv/static/mockups/*-800*
|
|
/priv/static/mockups/*-1200*
|
|
/priv/static/mockups/*-thumb*
|
|
/priv/static/mockups/*.avif
|
|
/priv/static/mockups/*.jpg
|
|
/priv/static/mockups/*.gz
|
|
/priv/static/mockups/*-????????????????????????????????.*
|
|
|
|
# Generated image variants cache (regenerated from source images)
|
|
/priv/static/image_cache/
|
|
|
|
# In case you use Node.js/npm, you want to ignore these.
|
|
npm-debug.log
|
|
/assets/node_modules/
|
|
|
|
# Database files
|
|
*.db
|
|
*.db-*
|
|
|