Skip to content
This repository has been archived by the owner on Mar 30, 2023. It is now read-only.

Commit

Permalink
Fix docker file and add doc about how to use it
Browse files Browse the repository at this point in the history
Signed-off-by: José Luis Di Biase <[email protected]>
  • Loading branch information
josx committed Nov 3, 2021
1 parent e7c8a0c commit 134cc1c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 7 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ LABEL maintainer="[email protected]"

WORKDIR /root

RUN git clone --depth=1 https://github.com/twintproject/twint.git && \
cd /root/twint && \
pip3 install . -r requirements.txt
COPY . /root/
RUN cd /root && mkdir output && pip3 install . -r requirements.txt

CMD /bin/bash

ENTRYPOINT ["twint"]
12 changes: 9 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,17 @@ pip3 install --user --upgrade git+https://github.com/twintproject/twint.git@orig
pipenv install git+https://github.com/twintproject/twint.git#egg=twint
```

### March 2, 2021 Update
### Docker

**Added**: Dockerfile
##### Build
```bash
docker build . -t twint
```

Noticed a lot of people are having issues installing (including me). Please use the Dockerfile temporarily while I look into them.
##### Run
```bash
docker run --rm -it -v "$PWD:/root/output" twint -u PROFILE --user-full --json -o output/PROFILE.json
```

## CLI Basic Examples and Combos
A few simple examples to help you understand the basics:
Expand Down

0 comments on commit 134cc1c

Please sign in to comment.