From 60415f8217306ae5baf4085ffae4619c5708a621 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=2E=20Fernando=20S=C3=A1nchez?= Date: Thu, 8 Oct 2015 19:26:02 +0200 Subject: [PATCH] Added Dockerfile and instructions --- Dockerfile | 3 +++ README.rst | 14 ++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 Dockerfile 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