用于heroku的nodejs中的Exiftool

时间:2015-04-29 00:13:04

标签: node.js heroku exiftool

我遇到的问题是我需要使用exiftool,因为我可以命令更多NPM中的元数据包。但是这个程序没有加载到heroku中,安装此命令的方法是什么?

1 个答案:

答案 0 :(得分:1)

To get extra binaries, dependencies, libs, etc onto the dyno, you should specify additional buildpacks as documented here:

The gist is:

heroku buildpack:set https://github.com/heroku/heroku-buildpack-multi

Then in .buildpacks:

https://github.com/benalavi/buildpack-exiftool
https://github.com/heroku/heroku-buildpack-nodejs

That will first download & install exiftool, then install node and use node (the final item listed) as your app buildpack.