Created
March 28, 2019 02:36
-
-
Save kunday/9ab48d1e1efbb118967be97fcc6db3cc to your computer and use it in GitHub Desktop.
Generate Artifact inside docker container
This file contains hidden or 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
| #!/usr/bin/env bash | |
| set -ex | |
| echo "Cleaning up old caches" | |
| rm -rf /data/tmp/* | |
| rm -rf /data/package/*.zip | |
| echo "Installing Packages" | |
| pip install newspaper3k --target /data/tmp | |
| cp /data/lib/lambda_function.py /data/tmp/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment