These are Dockerfiles to conveniently build ffmpeg and audiowaveform so they work in AWS Lambda functions.
- Clone this repo, and navigate into the folder for the tool you want to build.
- Run
yarn build
, and go brew some coffee—this will take a while! - Run
yarn install
, which will copy the compiled binary into abin
folder in the current directory. - Finally, run
yarn clean
to remove the Docker container (this won't remove the binary file you just built).
We recommend zipping up the binaries and creating a Lambda Layer so you can reduce the size of your Lambda code bundle, and update the binaries independently of your Lambda function(s).