Skip to content

Commit da947f9

Browse files
committed
move dockehub info to using
1 parent db7211f commit da947f9

File tree

1 file changed

+14
-7
lines changed

1 file changed

+14
-7
lines changed

docs/user-guide/how-to-deploy.rst

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -100,13 +100,10 @@ Deploying Your Action Server
100100
Building an Action Server Image
101101
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
102102

103-
This documentation assumes you are pushing your images to `DockerHub <https://hub.docker.com/>`_.
104-
DockerHub will let you host multiple public repositories and
105-
one private repository for free. Be sure to first `create an account <https://hub.docker.com/signup/>`_
106-
and `create a repository <https://hub.docker.com/signup/>`_ to store your images. You could also push images to
107-
a different Docker registry, such as `Google Container Registry <https://cloud.google.com/container-registry>`_,
108-
`Amazon Elastic Container Registry <https://aws.amazon.com/ecr/>`_, or
109-
`Azure Container Registry <https://azure.microsoft.com/en-us/services/container-registry/>`_.
103+
If you build an image that includes your action code and store it in a container registry, you can run it
104+
as part of your deployment, without having to move code between servers.
105+
In addition, you can add any additional dependencies of systems or Python libraries
106+
that are part of your action code but not included in the base ``rasa/rasa-sdk`` image.
110107

111108
To create your image:
112109

@@ -123,6 +120,7 @@ To create your image:
123120

124121
#. If your actions have any extra dependencies, create a list of them in a file,
125122
``actions/requirements-actions.txt``.
123+
126124
#. Create a file named ``Dockerfile`` in your project directory,
127125
in which you'll extend the official SDK image, copy over your code, and add any custom dependencies (if necessary).
128126
For example:
@@ -166,6 +164,15 @@ Using your Custom Action Server Image
166164

167165
If you're building this image to make it available from another server,
168166
for example a Rasa X or Rasa Enterprise deployment, you should push the image to a cloud repository.
167+
168+
This documentation assumes you are pushing your images to `DockerHub <https://hub.docker.com/>`_.
169+
DockerHub will let you host multiple public repositories and
170+
one private repository for free. Be sure to first `create an account <https://hub.docker.com/signup/>`_
171+
and `create a repository <https://hub.docker.com/signup/>`_ to store your images. You could also push images to
172+
a different Docker registry, such as `Google Container Registry <https://cloud.google.com/container-registry>`_,
173+
`Amazon Elastic Container Registry <https://aws.amazon.com/ecr/>`_, or
174+
`Azure Container Registry <https://azure.microsoft.com/en-us/services/container-registry/>`_.
175+
169176
You can push the image to DockerHub via:
170177

171178
.. code-block:: bash

0 commit comments

Comments
 (0)