diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..af2142c --- /dev/null +++ b/Dockerfile @@ -0,0 +1,4 @@ +FROM python:2-slim +RUN pip install http://github.com/nephics/euvat-json-api/archive/master.zip +EXPOSE 3000 +CMD ["euvat","--port=3000"] \ No newline at end of file diff --git a/README.md b/README.md index cf48484..ac23616 100644 --- a/README.md +++ b/README.md @@ -45,6 +45,18 @@ In this file, you can set the same options as for the command line. The following more detailed instructions are also available from your server [http://127.0.0.1:8040/](). +##Docker + +Run Services +============ + echo == euvat + docker run -d --restart always --name euvat \ + euvat + +Link your app +============= + docker run -d --restart always --name my_app \ + --link euvat:euvat ## The JSON API