diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..15b82d9 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,3 @@ +from python:2.7-onbuild + +ENTRYPOINT ["python", "-m", "senpy"] diff --git a/README.rst b/README.rst index 6a05fb9..a9e3514 100644 --- a/README.rst +++ b/README.rst @@ -36,7 +36,20 @@ To install it system-wide, use setuptools: .. code:: bash python setup.py install + + +If you are using docker, build the image or use the pre-built one: + +.. code:: bash + + docker run -ti -p 5000:5000 balkian/senpy --host 0.0.0.0 --default-plugins + +To add custom plugins, add a volume and tell senpy where to find the plugins: +.. code:: bash + + docker run -ti -p 5000:5000 -v