简体   繁体   中英

Installing npm for bower on dokku

I am trying to use bower install on my Django app, which is running on a dokku image.

I've got a plugin which tries to run it on pre-deploy but it needs npm and there's no npm installed on the image.

Does anyone know how to get npm on to the image or am I going about things the wrong way here?

In case anyone stumbles over this problem themselves, the answer is to use this plugin:

https://github.com/F4-Group/dokku-apt

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM