Phx digest is not working as expected in production

Hey Guys,

I have deployed my learning/tools project on

However, I’m running into an issue. I have used custom Fonts for my site, which works in dev and production build locally, however, when I deploy it using Render, it fails.

See: DerpyTools

In digested CSS, the font is supposed to be referred in this way:



In digested CSS, the font is referred in this way:

#!/usr/bin/env bash
# exit on error
set -o errexit

# Initial setup
mix deps.get --only prod
MIX_ENV=prod mix compile

# Compile assets
MIX_ENV=prod mix assets.deploy

# Build the release and overwrite the existing release directory
MIX_ENV=prod mix release --overwrite

I’m using Elixir & Phoenix.

The prod build works amicably locally:


However, after deploying to Render, the hash values are not being generated.

HI there,

When running your production build locally are you also using Docker?


Render Support, UTC+10 :australia:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.