Getting issue when deploying RASA action server with docker

Hi

I am trying to deploy my bot and action server but getting the following error. I am using RASA 2.4.3. Can you please check whats I doing wrong.

Here my docker file for building action server image. #whatever version that suits you FROM rasa/rasa-sdk:2.4.1

#define the working directory of Docker container
WORKDIR /app
#copy the requirements txt file with your dependencies in actions directory
COPY ./requirements-actions.txt ./
#copy everything in ./actions directory (your custom actions code) to /app/actions in container
COPY ./ /app/actions

#install dependencies inside Docker container
USER root

RUN pip install -r requirements-actions.txt
RUN python -m spacy download en_core_web_sm
RUN python -m spacy download en_core_web_md
RUN python -m spacy download en_core_web_lg

Here is my docker-compose file version: ‘3.0’

services:
  rasa:
    container_name: rasa_bunny
    # Make sure that the version you specify is the same as the version that you pip installed
    image: rasa/rasa:2.4.3
    #Map port 5005 of local machine to 5005 of container
    ports:
      - 5020:5020
    # This command will copy everything in current directory to the /app directory in the container
    volumes:
      - ./:/app
    command:
      - run
      - -m
      - models
      - --enable-api
      - --cors
      - "*"
      - -p
      - "5020"

  action-server:
    image: action_server_bunny:latest
    ports:
      - 5024:5024
    command:
      - run
      - actions
      - --cors
      - "*"
      - -p
      - "5024"


Creating network "rasa_conversationer_default" with the default driver
Creating rasa_conversationer_action-server_1 ... done
Creating rasa_bunny                          ... done
**Attaching to rasa_conversationer_action-server_1, rasa_bunny**
**action-server_1  | ./entrypoint.sh: line 17: exec: actions: cannot execute: Is a directory**
**rasa_conversationer_action-server_1 exited with code 126**
rasa_bunty       | 2021-04-16 03:26:12.320105: W tensorflow/stream_executor/platform/default/dso_loader.cc:59] Could not load dynamic library 'libcudart.so.10.1'; dlerror: libcudart.so.10
.1: cannot open shared object file: No such file or directory
rasa_bunty       | 2021-04-16 03:26:12.320179: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
rasa_bunty       | Matplotlib created a temporary config/cache directory at /tmp/matplotlib-71q2gk63 because the default path (/.config/matplotlib) is not a writable directory; it is high
ly recommended to set the MPLCONFIGDIR environment variable to a writable directory, in particular to speed up the import of Matplotlib and to better support multiprocessing.
rasa_bunty       | 2021-04-16 03:26:16 WARNING  rasa.utils.common  - Failed to write global config. Error: [Errno 13] Permission denied: '/.config'. Skipping.
rasa_bunty       | 2021-04-16 03:26:16 INFO     root  - Starting Rasa server on http://localhost:5020
rasa_bunty       | 2021-04-16 03:26:16 INFO     rasa.model  - Loading model models/20210415-162429.tar.gz...
rasa_bunty       | 2021-04-16 03:26:19.269438: W tensorflow/stream_executor/platform/default/dso_loader.cc:59] Could not load dynamic library 'libcuda.so.1'; dlerror: libcuda.so.1: cannot
 open shared object file: No such file or directory
rasa_bunty       | 2021-04-16 03:26:19.269504: W tensorflow/stream_executor/cuda/cuda_driver.cc:312] failed call to cuInit: UNKNOWN ERROR (303)

My action server image is exited with code 126. Can you please suggest what I am doing wrong.

Thanks

Looks like your action server image not found the action file.