Created
May 26, 2020 21:48
-
-
Save InsiderPhD/f1eaa95b8479b54e8849beb596d669f5 to your computer and use it in GitHub Desktop.
Arjun Docker
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
FROM python:3 | |
WORKDIR /usr/src/app | |
COPY requirements.txt ./ | |
RUN pip install --no-cache-dir -r requirements.txt | |
RUN mkdir data | |
COPY . . |
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
requests==2.23.0 |
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 -v ~/your/file/with/arjun:/usr/src/app/data arjun python arjun.py -u http://api.endpoint.com/api/users --post -o data/result.json |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment