Are you running under docker-compose or another install method. If you’re using docker-compose, then create a docker-compose.override.yml file with the following:
Add the following to the bottom of your existing file. Make sure rasa-x is indented 2 spaces like app:. Then restart Rasa X: docker-compose restart rasa-x
Yes. I forgot you mentioned you are running this locally. For a server install, you typically don’t want to modify docker-compose.yml but it works fine.
Thank you. Okay, That means there is no need for docker-compose.override.yml Ifor server install.
Also, I was trying to deploy my bot to heroku…
The plan is to deploy action server seperately…and the
Dockerfile for it is
# Extend the official Rasa SDK image
FROM rasa/rasa-sdk:1.9.0
# Use subdirectory as working directory
WORKDIR /app
# Copy any additional custom requirements, if necessary (uncomment next line)
COPY actions/requirements-actions.txt ./
# Change back to root user to install dependencies
USER root
RUN apt-get update
RUN apt-get -y install gcc
# Install extra requirements for actions code, if necessary (uncomment next line)
RUN pip install -r requirements-actions.txt
# Copy actions folder to working directory
COPY ./actions /app/actions
# By best practices, don't run the code with root user
USER 1001