Skip to content

Commit

Permalink
Added Pipenv Pipfiles and updated Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
wcpannell committed Apr 10, 2018
1 parent 5357dee commit a17b1c5
Show file tree
Hide file tree
Showing 3 changed files with 105 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3
FROM python:3-alpine

ADD ./hostthedocs/ ./hostthedocs/
ADD ./.travis.yml ./.travis.yml
Expand All @@ -8,11 +8,11 @@ ADD ./host_my_docs.py ./host_my_docs.py
ADD ./runserver.py ./runserver.py
ADD ./setup.py ./setup.py
ADD ./tox.ini ./tox.ini
ADD ./Pipfile ./Pipfile
ADD ./Pipfile.lock ./Pipfile.lock

RUN pip install flask
RUN pip install six
RUN pip install conf
RUN pip install natsort
RUN pip install pipenv
RUN pipenv install --deploy --system

ENV HTD_HOST "0.0.0.0"
ENV HTD_PORT 5000
Expand Down
15 changes: 15 additions & 0 deletions Pipfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
[[source]]
url = "https://pypi.python.org/simple"
verify_ssl = true
name = "pypi"

[packages]
flask = "*"
six = "*"
conf = "*"
natsort = "*"

[dev-packages]

[requires]
python_version = "3.6"
85 changes: 85 additions & 0 deletions Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit a17b1c5

Please sign in to comment.