Hello,
I followed this tutorial: How to Handle your Python packaging in Lambda with Serverless plugins to set up a serverless lambda environment. Everything worked fine but now i’m trying to implement my own personal project.
When I run serverless deploy, my output shown below:
Question: In the line below, > Serverless: Docker Image: lambci/lambda:build-python3.6, how do I access the Dockerfile for this docker image? I wanted to see what is going on, or do I just simply create my own Dockerfile?
Also, when I go into this image via command: >docker run -it lambci/lambda:build-python3.6 /bin/bash, I cannot find the package/code that docker is running before uploading it to the cloud in S3. Where would my files be located that docker is running and packaging/dependencies and executing? I checked /var/task, but it is empty. I even tried to run find command to find the files, nothing.
Serverless: Installing requirements of requirements.txt in .serverless…
Serverless: Docker Image: lambci/lambda:build-python3.6
Serverless: Packaging service…
Serverless: Excluding development dependencies…
Serverless: Injecting required Python packages to package…
Serverless: Uploading CloudFormation file to S3…
Serverless: Uploading artifacts…
Serverless: Uploading service .zip file to S3 (14.25 MB)…
Serverless: Validating template…
Serverless: Updating Stack…
Serverless: Checking Stack update progress…
…
Serverless: Stack update finished…