https://github.com/RasaHQ/rasa/issues/7950



手工安装支持gpu

curl -XGET https://mirror.ccs.tencentyun.com/v2/tensorflow/tensorflow/tags/list

Dockerfiles

FROM tensorflow/tensorflow:2.3.2-gpu
RUN pip install rasa==2.4.0

#dockerpose.ymol
version: "3.8"

services:
  rasa:
    build:
      context: .
    runtime: nvidia
    volumes:
      - ./:/app
    entrypoint: sh
    tty: true