Reputation: 17886
I'm trying to run a hobby project on bluemix that is a combination of nodejs and python, that expects the runtimes to be collocated.
At first, I didn't even know there was a python dependency. So I deployed based on the node SDK starter app.
There is a "requirements.txt" for python dependencies, but I can see it's not really being used. Is there something I can do to get deployment to recognize that the app is a hybrid like this, IOW to process the requirements.txt so when python is invoked my deps are there?
Upvotes: 0
Views: 127
Reputation: 96
In general, I would recommend splitting the application up so they do not have this dependency. But if you can't, I can think of two options:
.buildpacks
file in the application root directory and push your application with -b https://github.com/ddollar/heroku-buildpack-multi.git
option. During staging, the buildpacks specified in that file will be called on your application.Upvotes: 1