Skip to content

Commit

Permalink
Merge pull request #31 from abrasive/cleanup-Dockerfile
Browse files Browse the repository at this point in the history
Cleanup Dockerfile
  • Loading branch information
rgalanakis authored Aug 22, 2019
2 parents d309772 + dc7cf2b commit 45d6139
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 37 deletions.
13 changes: 4 additions & 9 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,19 +1,14 @@
FROM python:3-alpine
RUN pip install pipenv

ADD ./hostthedocs/ ./hostthedocs/
ADD ./.travis.yml ./.travis.yml
ADD ./MANIFEST.in ./MANIFEST.in
ADD ./conf_template.py ./conf_template.py
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 pipenv
RUN pipenv install --deploy --system

ADD ./hostthedocs/ ./hostthedocs/
ADD ./runserver.py ./runserver.py

ENV HTD_HOST "0.0.0.0"
ENV HTD_PORT 5000

Expand Down
80 changes: 52 additions & 28 deletions Pipfile.lock

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

0 comments on commit 45d6139

Please sign in to comment.