We can't find the internet
Attempting to reconnect
Something went wrong!
Hang in there while we get back on track
Ignoring digested assets by git and Docker
almirsarajcic
0 comments
Copy link
If you’re testing releases locally with MIX_ENV=prod, you might notice git and Docker don’t ignore your digested assets.
You can solve this by adding a few lines to your .gitignore and .dockerignore files.
# Ignore assets that are produced by build tools.
/assets/node_modules/
/priv/static/assets/
/priv/static/**/*-????????????????????????????????.*
/priv/static/**/*.gz
Details: https://github.com/phoenixframework/phoenix/pull/5854.
copied to clipboard
Comments (0)
Sign in with GitHub to join the discussion