Last active
June 7, 2020 17:40
-
-
Save nashmaniac/5dcb7a8fb6d381374224fea025049380 to your computer and use it in GitHub Desktop.
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
# action will be run in python3 container | |
FROM python:3 | |
# copying requirements.txt and install the action dependencies | |
COPY requirements.txt /requirements.txt | |
RUN pip install -r /requirements.txt | |
# script.py is the file that will contain the codes that we want to run for this action. | |
COPY script.py /script.py | |
# we will just run our script.py as our docker entrypoint by python script.py | |
CMD ["python", "/script.py"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment