Phx digest is not working as expected in production

Created a git issue:

I don‘t think I do anything special in that regard, but you can take a look:

1 Like

I have no clue why the digest doesn’t run properly inside a docker container.

Because, when I created a Multipass Ubuntu VM locally, I was able to get a production build running with proper hashed file names.


It’s derpytools.site, which is running locally inside a VM.

Is fonts directory included in esbuild? (Config.exs)

Yes

The prod build works, locally and in Linux bare-metal, but not in Docker deploys!

See that the files are included in the prod build and present as well, in cache_manifest.

Here’s the font, with hashed file name!

Were anyone to stumble upon this, I solved the missing build assets by adding: mix assets.deploy to my build.sh.