Bulk creating users with rails etc

Of you have it working locally you can backup there and restore to production.

Did you put your file in /var/www/discourse/lib/rake inside the container?