Docker rasa_core_sdk.executor

Hi there

I’m using rasa with Docker. I followed the Rasa Sara example. My Docker file looks like this:

FROM python:3.6-slim

SHELL ["/bin/bash", "-c"]

# Default to UTF-8 file.encoding
ENV LANG C.UTF-8

ARG GITHUB_TOKEN

RUN apt-get update -qq && \
  apt-get install -y --no-install-recommends \
  build-essential \
  wget \
  openssh-client \
  graphviz-dev \
  pkg-config \
  git-core \
  openssl \
  libssl-dev \
  libffi6 \
  libffi-dev \
  libpng-dev \
  curl && \
  apt-get clean && \
  rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* && \
  mkdir /app

WORKDIR /app

COPY requirements.txt ./

RUN pip install -r requirements.txt

COPY . /app 

RUN  pip install -e . --no-use-pep517

EXPOSE 5005

CMD ["python" ,"-m", "rasa_core_sdk.endpoint", "--actions", "pf.actions", "-p", "5001", "--debug"]

My docker-compose file:

  pf-rasa:
    build: 
      context: ./rasa/
      dockerfile: Dockerfile
    image: pf-rasa
    ports: 
      - "127.0.0.1:5005:5001"
    networks: 
      - internal-network
      - external-network

When I run docker-compose up the action server seems to start. When I send a request with my client I receive the following message and the client never get a response.

pf-rasa_1         | 2019-05-21 12:53:43 INFO     __main__  - Starting action endpoint server...
pf-rasa_1         | 2019-05-21 12:53:43 INFO     rasa_core_sdk.executor  - Registered function for 'action_joke'.
pf-rasa_1         | 2019-05-21 12:53:43 DEBUG    pf.actions  - {}
pf-rasa_1         | 2019-05-21 12:53:43 INFO     rasa_core_sdk.executor  - Registered function for 'action_location'.
pf-rasa_1         | 2019-05-21 12:53:43 INFO     __main__  - Action endpoint is up and running. on ('0.0.0.0', 5001)
pf-bot-backend    |
pf-bot-backend    |   .   ____          _            __ _ _
pf-bot-backend    |  /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
pf-bot-backend    | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
pf-bot-backend    |  \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
pf-bot-backend    |   '  |____| .__|_| |_|_| |_\__, | / / / /
pf-bot-backend    |  =========|_|==============|___/=/_/_/_/
pf-bot-backend    |  :: Spring Boot ::        (v2.1.4.RELEASE)
pf-bot-backend    |
pf-bot-ui         | 172.21.0.1 - - [21/May/2019:12:53:49 +0000] "GET / HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.157 Safari/537.36" "-"
pf-rasa_1         | 172.21.0.1 - - [2019-05-21 12:53:53] "OPTIONS /webhook HTTP/1.1" 200 318 0.003787
pf-rasa_1         | 2019-05-21 12:53:53 WARNING  __main__  - You are using an old version of rasa_core which might not be compatible with this version of rasa_core_sdk (0.14.0).
pf-rasa_1         | To ensure compatibility use the same version for both, modulo the last number, i.e. using version A.B.x the numbers A and B should be identical for both rasa_core and rasa_core_sdk.
pf-rasa_1         | 2019-05-21 12:53:53 WARNING  rasa_core_sdk.executor  - Received an action call without an action.

What am I doing wrong? What do I miss?

Thank for your help!