You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How do folks recommend running custom install / build commands? For example, to use the pyodbc package, you need to copy some files into a particular directory.
When using tools like dokku, I've used their custom "predeploy" hook that would run a script like:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi! Love this project ✨
How do folks recommend running custom install / build commands? For example, to use the
pyodbc
package, you need to copy some files into a particular directory.When using tools like
dokku
, I've used their custom "predeploy" hook that would run a script like:Where
odbc.ini
are included in the application structure.On Heroku, I've seen this problem solved in the community via custom buildpacks that run arbitrary commands, like heroku-buildpack-run
There are three main use cases I've run into:
Beta Was this translation helpful? Give feedback.
All reactions