diff --git a/Dockerfile b/Dockerfile
index 62a75fff43f2a84d950454ffd6ac0623e531a128..15a6c6d931ffd7a9887a70008287f61f04be0f1d 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -7,4 +7,11 @@ RUN pip install \
     --extra-index-url https://artifactory.software.geant.org/artifactory/api/pypi/geant-swd-pypi/simple \
     goat-lso==${ARTIFACT_VERSION}
 
-CMD ["tail", "-f", "/dev/null"]
+# NOTE: a real config must be mounted at
+# /etc/lso/config.json when running the container
+RUN mkdir -p /etc/lso
+COPY config.json.example /etc/lso/config.json
+EXPOSE 8000
+
+ENV SETTINGS_FILENAME=/etc/lso/config.json
+CMD ["uvicorn", "lso.app:app", "--host", "0.0.0.0", "--port", "8000"]
diff --git a/setup.py b/setup.py
index 0f87e0af72d699bf907957897f257d1f6fc7dbb8..8217bf38ec4bfe5c8f1892596db4d87b6417403d 100644
--- a/setup.py
+++ b/setup.py
@@ -18,6 +18,7 @@ setup(
         "ncclient",
         "xmltodict",
         "netaddr",
+        "ansible-runner==2.3.3",
     ],
     license="MIT",
     license_files=("LICENSE.txt",),