Skip to content

Commit f16d517

Browse files
authored
Merge pull request RasaHQ#5490 from RasaHQ/erohmensing-patch-1
small clarity update to action server docs
2 parents d946368 + 1833ecb commit f16d517

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

docs/user-guide/docker/deploying-in-docker-compose.rst

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,16 @@ a different Docker registry, such as `Google Container Registry <https://cloud.g
148148
To create your image:
149149

150150
#. Move your actions code to a folder ``actions`` in your project directory.
151-
Make sure to also add an empty ``actions/__init__.py`` file.
151+
Make sure to also add an empty ``actions/__init__.py`` file:
152+
153+
.. code-block:: bash
154+
155+
mkdir actions
156+
mv actions.py actions/actions.py
157+
touch actions/__init__.py # the init file indicates actions.py is a python module
158+
159+
The ``rasa/rasa-sdk`` image will automatically look for the actions in ``actions/actions.py``.
160+
152161
#. If your actions have any extra dependencies, create a list of them in a file,
153162
``actions/requirements-actions.txt``.
154163
#. Create a file named ``Dockerfile`` in your project directory,

0 commit comments

Comments
 (0)