1
0
mirror of https://github.com/gsi-upm/senpy synced 2024-11-22 00:02:28 +00:00

Added Dockerfile and instructions

This commit is contained in:
J. Fernando Sánchez 2015-10-08 19:26:02 +02:00
parent 724eac38d8
commit 60415f8217
2 changed files with 17 additions and 0 deletions

3
Dockerfile Normal file
View File

@ -0,0 +1,3 @@
from python:2.7-onbuild
ENTRYPOINT ["python", "-m", "senpy"]

View File

@ -37,6 +37,19 @@ To install it system-wide, use setuptools:
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 <PATH OF PLUGINS:/plugins balkian/senpy --host 0.0.0.0 --default-plugins -f /plugins
Using
-----
@ -57,6 +70,7 @@ or, alternatively:
This will create a server with any modules found in the current path.
For more options, see the `--help` page.
TO-DO
-----