forked from obheda12/GitDorker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
22 lines (16 loc) · 636 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
FROM alpine:3.9
LABEL MAINTAINER Furkan SAYIM | [email protected]
RUN apk update && \
apk upgrade
RUN apk add --no-cache python3 && \
python3 -m ensurepip && \
rm -r /usr/lib/python*/ensurepip && \
pip3 install --upgrade pip setuptools && \
if [ ! -e /usr/bin/pip ]; then ln -s pip3 /usr/bin/pip ; fi && \
if [[ ! -e /usr/bin/python ]]; then ln -sf /usr/bin/python3 /usr/bin/python; fi && \
rm -r /root/.cache
RUN apk add git
RUN git clone https://github.com/obheda12/GitDorker.git /tmp/gitdorker
WORKDIR /tmp/gitdorker
RUN pip3 install -r requirements.txt
ENTRYPOINT ["python3", "GitDorker.py"]