amazon-docker
Install the required Python libraries inside the Amazon Python 3.6 image
Some Python libraries (i.e. pandas
) are installed differently for different operating systems. The pandas
library
will not work when it is installed on Windows and deployed to AWS Lambda. In order to circumvent this the libraries should be
installed using the Docker image for the Amazon environment the Lambda function is running in.
Howto
- Change the
requirements.txt
to include the required Python libraries - Run
docker-compose up
in the folder - Copy the results of the
pipper
folder in the build folder for your Amazon Lambda function - Deploy your Lambda function