Hello! I use fly.io to deploy a nodeJS app. With the help of the ‘fluent-ffmpeg’ package I use ffmpeg for video transcoding. The package requires that the PATHS for ffmpeg and ffprobe are set, however I am not sure how to achieve that inside the fly.io enviorment.
In my dockerfile I install ffmpeg however when trying to use it, the package throws the ‘Cannot find ffprobe’ error since it cannot locate the PATH for it.
That’s not the right place to add the package - that will only make that package available during the build stage.
Try running:
npx dockerfile --add ffmpeg
Just curious, is there some npm module that you are using that wraps this? If so, dockerfile-node could automatically add this package if the module is detected.