Skip to content

Instantly share code, notes, and snippets.

@InsiderPhD
Created May 26, 2020 21:48
Show Gist options
  • Save InsiderPhD/f1eaa95b8479b54e8849beb596d669f5 to your computer and use it in GitHub Desktop.
Save InsiderPhD/f1eaa95b8479b54e8849beb596d669f5 to your computer and use it in GitHub Desktop.
Arjun Docker
FROM python:3
WORKDIR /usr/src/app
COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt
RUN mkdir data
COPY . .
requests==2.23.0
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