Skip to content

Commit 3b3db01

Browse files
committed
build(Dockerfile): building from source instead of installing from PyPI
1 parent dd0e6b2 commit 3b3db01

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Dockerfile

+2-1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk/repositorie
88
RUN apk update
99
RUN apk add git
1010

11-
RUN python3 -m pip install -i https://pypi.org/simple/ GitHacker
11+
RUN git clone https://github.com/WangYihang/GitHacker.git
12+
RUN cd GitHacker && pip install -r requirements.txt && python setup.py install
1213

1314
ENTRYPOINT ["githacker"]

0 commit comments

Comments
 (0)