mirror of
https://github.com/ejwa/gitinspector.git
synced 2025-03-26 02:01:27 +01:00
Add Dockerfile
This commit is contained in:
parent
b8375442a7
commit
24731d35d8
1 changed files with 20 additions and 0 deletions
20
Dockerfile
Normal file
20
Dockerfile
Normal file
|
@ -0,0 +1,20 @@
|
|||
FROM python:2-alpine3.7
|
||||
|
||||
ENV PYTHONIOENCODING=utf-8
|
||||
|
||||
RUN apk add --no-cache git \
|
||||
&& apk add --no-cache tree
|
||||
|
||||
ADD gitinspector/ /tmp/gitinspector/gitinspector/
|
||||
ADD DESCRIPTION.txt /tmp/gitinspector/
|
||||
ADD setup.py /tmp/gitinspector/
|
||||
|
||||
WORKDIR /tmp/gitinspector
|
||||
RUN python setup.py install
|
||||
|
||||
WORKDIR /
|
||||
RUN rm -r /tmp/gitinspector
|
||||
|
||||
WORKDIR /repo
|
||||
|
||||
ENTRYPOINT ["gitinspector"]
|
Loading…
Add table
Reference in a new issue