mirror of
https://github.com/soxoj/maigret.git
synced 2026-05-06 14:08:59 +00:00
Dockerfile fixes
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
.git/
|
.git/
|
||||||
.vscode/
|
.vscode/
|
||||||
screenshot/
|
static/
|
||||||
tests/
|
tests/
|
||||||
*.txt
|
*.txt
|
||||||
!/requirements.txt
|
!/requirements.txt
|
||||||
|
|||||||
+2
-1
@@ -20,8 +20,9 @@ LABEL org.label-schema.vcs-ref=$VCS_REF \
|
|||||||
org.label-schema.vcs-url=$VCS_URL
|
org.label-schema.vcs-url=$VCS_URL
|
||||||
COPY --from=build /wheels /wheels
|
COPY --from=build /wheels /wheels
|
||||||
COPY . /opt/maigret/
|
COPY . /opt/maigret/
|
||||||
|
RUN apk add git
|
||||||
RUN pip3 install -r requirements.txt -f /wheels \
|
RUN pip3 install -r requirements.txt -f /wheels \
|
||||||
&& rm -rf /wheels \
|
&& rm -rf /wheels \
|
||||||
&& rm -rf /root/.cache/pip/*
|
&& rm -rf /root/.cache/pip/*
|
||||||
|
|
||||||
ENTRYPOINT ["python", "maigret.py"]
|
ENTRYPOINT ["python", "maigret"]
|
||||||
|
|||||||
@@ -37,6 +37,21 @@ $ git clone https://git.rip/soxoj/maigret && cd maigret
|
|||||||
$ python3 -m pip install -r requirements.txt
|
$ python3 -m pip install -r requirements.txt
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Using examples
|
||||||
|
|
||||||
|
```bash
|
||||||
|
python3 maigret user
|
||||||
|
|
||||||
|
python3 maigret user1 user2 user3
|
||||||
|
```
|
||||||
|
|
||||||
|
With Docker:
|
||||||
|
```
|
||||||
|
docker build -t maigret .
|
||||||
|
|
||||||
|
docker run maigret user
|
||||||
|
```
|
||||||
|
|
||||||
## Demo with page parsing and recursive username search
|
## Demo with page parsing and recursive username search
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
@@ -49,6 +64,6 @@ python3 maigret alexaimephotographycars
|
|||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
MIT © [Maigret](https://git.rip/soxoj/maigret)<br/>
|
MIT © [Maigret](https://github.com/soxoj/maigret)<br/>
|
||||||
MIT © [Sherlock Project](https://github.com/sherlock-project/)<br/>
|
MIT © [Sherlock Project](https://github.com/sherlock-project/)<br/>
|
||||||
Original Creator of Sherlock Project - [Siddharth Dushantha](https://github.com/sdushantha)
|
Original Creator of Sherlock Project - [Siddharth Dushantha](https://github.com/sdushantha)
|
||||||
|
|||||||
Reference in New Issue
Block a user