mirror of
https://github.com/soxoj/maigret.git
synced 2026-05-07 06:24:35 +00:00
Dockerfile fixes
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
.git/
|
||||
.vscode/
|
||||
screenshot/
|
||||
static/
|
||||
tests/
|
||||
*.txt
|
||||
!/requirements.txt
|
||||
|
||||
+2
-1
@@ -20,8 +20,9 @@ LABEL org.label-schema.vcs-ref=$VCS_REF \
|
||||
org.label-schema.vcs-url=$VCS_URL
|
||||
COPY --from=build /wheels /wheels
|
||||
COPY . /opt/maigret/
|
||||
RUN apk add git
|
||||
RUN pip3 install -r requirements.txt -f /wheels \
|
||||
&& rm -rf /wheels \
|
||||
&& 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
|
||||
```
|
||||
|
||||
## 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
|
||||
|
||||
```bash
|
||||
@@ -49,6 +64,6 @@ python3 maigret alexaimephotographycars
|
||||
|
||||
## 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/>
|
||||
Original Creator of Sherlock Project - [Siddharth Dushantha](https://github.com/sdushantha)
|
||||
|
||||
Reference in New Issue
Block a user