-
-
Save KyMidd/ad3d4d3f1fcdd783924a410fd6c8f740 to your computer and use it in GitHub Desktop.
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
| FROM --platform=linux/amd64 ubuntu:20.04 | |
| # Install tooling | |
| RUN apt-get update && apt-get install -y \ | |
| less \ | |
| (removed) | |
| python3-pip \ | |
| && rm -rf /var/lib/apt/lists/* | |
| # Install boto3 | |
| RUN pip3 install boto3 | |
| # copy over the start.py script | |
| COPY start.py start.py | |
| # make the script executable | |
| RUN chmod +x start.py | |
| # set the entrypoint to the start.py script | |
| ENTRYPOINT ["python3","./start.py"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment