Phoenix+Dokku+Bower

I’m attempting to deploy phoenix to a dokku droplet. I currently have bower working on my dev environment, but when I try to deploy to dokku I get a “remote: cp: cannot stat ‘bower_components’: No such file or directory”. Any one ever tried to deploy to dokku? or had similar issues?

Anything would help at this time. Thanks,

I wrote a phoenix deployment guide using dokku awhile ago, which still works. As for bower are you using heroku-buildpack-phoenix-static? If so make sure bower.json is committed to git.

1 Like