This repository was archived by the owner on Mar 30, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +13
-7
lines changed Expand file tree Collapse file tree 2 files changed +13
-7
lines changed Original file line number Diff line number Diff line change 3
3
4
4
WORKDIR /root
5
5
6
- RUN git clone --depth=1 https://github.com/twintproject/twint.git && \
7
- cd /root/twint && \
8
- pip3 install . -r requirements.txt
6
+ COPY . /root/
7
+ RUN cd /root && mkdir output && pip3 install . -r requirements.txt
9
8
10
- CMD /bin/bash
9
+
10
+ ENTRYPOINT ["twint" ]
Original file line number Diff line number Diff line change @@ -63,11 +63,17 @@ pip3 install --user --upgrade git+https://github.com/twintproject/twint.git@orig
63
63
pipenv install git+https://github.com/twintproject/twint.git#egg=twint
64
64
```
65
65
66
- ### March 2, 2021 Update
66
+ ### Docker
67
67
68
- ** Added** : Dockerfile
68
+ ##### Build
69
+ ``` bash
70
+ docker build . -t twint
71
+ ```
69
72
70
- Noticed a lot of people are having issues installing (including me). Please use the Dockerfile temporarily while I look into them.
73
+ ##### Run
74
+ ``` bash
75
+ docker run --rm -it -v " $PWD :/root/output" twint -u PROFILE --user-full --json -o output/PROFILE.json
76
+ ```
71
77
72
78
## CLI Basic Examples and Combos
73
79
A few simple examples to help you understand the basics:
You can’t perform that action at this time.
0 commit comments