Skip to content

Commit ea01a33

Browse files
committed
Dockerfile fixes
1 parent d39b699 commit ea01a33

File tree

3 files changed

+19
-3
lines changed

3 files changed

+19
-3
lines changed

.dockerignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.git/
22
.vscode/
3-
screenshot/
3+
static/
44
tests/
55
*.txt
66
!/requirements.txt

Dockerfile

+2-1
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,9 @@ LABEL org.label-schema.vcs-ref=$VCS_REF \
2020
org.label-schema.vcs-url=$VCS_URL
2121
COPY --from=build /wheels /wheels
2222
COPY . /opt/maigret/
23+
RUN apk add git
2324
RUN pip3 install -r requirements.txt -f /wheels \
2425
&& rm -rf /wheels \
2526
&& rm -rf /root/.cache/pip/*
2627

27-
ENTRYPOINT ["python", "maigret.py"]
28+
ENTRYPOINT ["python", "maigret"]

README.md

+16-1
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,21 @@ $ git clone https://git.rip/soxoj/maigret && cd maigret
3737
$ python3 -m pip install -r requirements.txt
3838
```
3939

40+
## Using examples
41+
42+
```bash
43+
python3 maigret user
44+
45+
python3 maigret user1 user2 user3
46+
```
47+
48+
With Docker:
49+
```
50+
docker build -t maigret .
51+
52+
docker run maigret user
53+
```
54+
4055
## Demo with page parsing and recursive username search
4156

4257
```bash
@@ -49,6 +64,6 @@ python3 maigret alexaimephotographycars
4964

5065
## License
5166

52-
MIT © [Maigret](https://git.rip/soxoj/maigret)<br/>
67+
MIT © [Maigret](https://github.com/soxoj/maigret)<br/>
5368
MIT © [Sherlock Project](https://github.com/sherlock-project/)<br/>
5469
Original Creator of Sherlock Project - [Siddharth Dushantha](https://github.com/sdushantha)

0 commit comments

Comments
 (0)