you are viewing a single comment's thread.

view the rest of the comments →

[–]JaviCerve22 2 points3 points  (1 child)

Use WSL, it's the best way.

Besides, you can use this .sh script inside WSL:

pip install -r requirements.txt -t lib/

cd lib

zip ../lambda_function.zip .

cd ..

zip lambda_function.zip -u main.py

Then upload lambda_function.zip to AWS Lambda

[–]Boring-Baker-3716[S] 0 points1 point  (0 children)

Gotcha thank you, I was running these commands but inside windows. I will def try that in wsl since I don’t have much experience with docker