Skip to content
This repository has been archived by the owner on Jan 21, 2020. It is now read-only.

Commit

Permalink
Merge pull request #26 from dirkcjelli/dockerfix
Browse files Browse the repository at this point in the history
Some minimal Dockerfile fixes, readme
  • Loading branch information
arnisoph authored Mar 18, 2018
2 parents 8608b28 + dca4098 commit ad47e27
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,12 @@ COPY requirements/base.txt /tmp/requirements.txt
COPY tabellarius/ /tabellarius

RUN \
pip install --upgrade pip && \
pip install -r /tmp/requirements.txt && \
rm -rf \
/tmp/* \
/var/tmp/*

ENTRYPOINT ["python", "/tabellarius/tabellarius.py"]

CMD ["-V"]
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ Run in Docker container:

::

$ docker run -it -v /path/to/config:/config:ro bechtoldt/tabellarius:<VERSION> python /tabellarius/tabellarius.py --confdir=/config
$ docker run -it -v /path/to/config:/config:ro bechtoldt/tabellarius:<VERSION> --confdir=/config

If you prefer running Tabellarius on arbitrary computers you should consider using `virtualenv <https://pypi.python.org/pypi/virtualenv>`_ with or without `virtualenvwrapper <https://pypi.python.org/pypi/virtualenvwrapper/>`_.

Expand Down

0 comments on commit ad47e27

Please sign in to comment.