mirror of
https://github.com/ejwa/gitinspector.git
synced 2025-03-26 02:01:27 +01:00
Add Dockerfile and Pipfile
This commit is contained in:
parent
b16b31b9ca
commit
5e78d1fef7
2 changed files with 23 additions and 0 deletions
11
Dockerfile
Normal file
11
Dockerfile
Normal file
|
@ -0,0 +1,11 @@
|
|||
FROM python:3.7
|
||||
# Set the working directory.
|
||||
RUN mkdir -p /usr/src/app
|
||||
WORKDIR /usr/src/app
|
||||
COPY . /usr/src/app
|
||||
ENV PYTHONPATH="/usr/src/app:${PYTHONPATH}"
|
||||
RUN pip install pipenv
|
||||
RUN pipenv lock --requirements > requirements.txt
|
||||
RUN pip install -r requirements.txt
|
||||
RUN chmod -R 777 /usr/src/app/gitinspector.py
|
||||
ENTRYPOINT ["/usr/src/app/gitinspector.py"]
|
12
Pipfile
Normal file
12
Pipfile
Normal file
|
@ -0,0 +1,12 @@
|
|||
[[source]]
|
||||
name = "pypi"
|
||||
url = "https://pypi.org/simple"
|
||||
verify_ssl = true
|
||||
|
||||
[dev-packages]
|
||||
|
||||
[packages]
|
||||
python-shell = "*"
|
||||
|
||||
[requires]
|
||||
python_version = "3.7"
|
Loading…
Add table
Reference in a new issue