Joined January 2012
·

James Badger

Research Associate at University of Calgary
·
Calgary, Alberta, Canada
·
·
·

Posted to Heroku + Rails + Bower over 1 year ago

I can confirm this works with Dokku 0.2.3, but there are two things that need to be changed before pushing to Dokku.

  1. Create a .npmrc file with unsafe-perm = true
  2. Change the package.json post-install script to run this command instead: ./node_modules/bower/bin/bower install --allow-root

This is due to Dokku using Docker containers with root users to run the apps.

Achievements
49 Karma
0 Total ProTip Views