With prodenviornment, you need to explicitly compile your application. It will not be automatically compiled - this is one of the parameter actions build_embedded: truein yours mix.exs.
Starting MIX_ENV=prod mix compilebefore starting should fix all problems.
source
share