Skip to content

Instantly share code, notes, and snippets.

@ashutoshkarna03
Last active May 21, 2020 19:19
Show Gist options
  • Save ashutoshkarna03/ca421ff1e6b4bfc41089c22b4e6554b3 to your computer and use it in GitHub Desktop.
Save ashutoshkarna03/ca421ff1e6b4bfc41089c22b4e6554b3 to your computer and use it in GitHub Desktop.
#!/bin/bash
export LIB_DIR="python"
rm -rf ${LIB_DIR} && mkdir -p ${LIB_DIR}
docker run --rm -v $(pwd):/foo -w /foo lambci/lambda:build-python3.6 \
pip install -r requirements.txt -t ${LIB_DIR}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment