intermine / bluegenes

A friendly next-generation interface for Genomic data discovery powered by InterMine
http://bluegenes.apps.intermine.org
Other
76 stars 56 forks source link

better tool folder management for dokku #361

Closed yochannah closed 4 years ago

yochannah commented 5 years ago

Currently we enter the docker container and npm install the tools: https://github.com/intermine/bluegenes/blob/dev/docs/tools/dokku-tool-installation.md

I have a feeling this might nuke the tools every time we redeploy. What is a better solution?

josegonzalez commented 5 years ago

If you use the nodejs buildpack and have a scripts.build key in your package.json, that will run during the build process. There are actually a few other script keys that are installed, though it might be easier to find some official documentation on the Heroku buildpack for your particular use-case.

Dokku supports persistent storage, though - by default - it is not mounted during the build process.

Hope that helps.