Deploy Phoenix 1.7

Has anyone managed to deploy Phoenix 1.7 app to render.com? I have been following different tutorials for older versions of Phoenix and managed only to deploy when I removed
npm install --prefix ./assets
npm run deploy --prefix ./assets
from build.sh
Site was live but I did not have css and js.

Hi there,

Looking at the Phoenix service you are trying to deploy it doesn’t look like it is using a NodeJS frontend framework (it’s missing a package.json). This means running npm will not work, so you should remove these from the build script.

Regards,

Keith
Render Support, UTC+10 :australia:

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