Last active
September 5, 2018 09:11
-
-
Save dhepper/5df0eecbb22a26ef67b4752e1fe8a620 to your computer and use it in GitHub Desktop.
One-line command to install requirements for an AWS lambda function
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker run -it --mount type=bind,source="$(pwd)",target=/build dacut/amazon-linux-python-3.6 bash -c "cd /build && pip3 install -r requirements.txt -t ./" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment