Getting error about paths that I'm unsure about

I am trying okteto for the first time, and I created a Dockerfile, docker-compose.yml and okteto.yml and getting this error:

x Invalid volume ‘/okteto/src/actions:./app/data/general/actions’ in service ‘rasa’: must be an absolute path

Inside my docker-compose.yml is where I have this:

services:
  rasa:
    image: rasa-bot:latest
    working_dir: /app
    build: "./"
    restart: always
    volumes:
      - ./actions:./app/data/general/actions
      - ./data:./app/data
      - ./models:./app/models
    command: bash -c "rm -rf models/* && rasa train && rasa run --enable-api --cors \"*\" --debug"
    ports:
      - '5005:5005'
    networks:
      - all

Hi @luisarmandom, try removing the dot in front of /app so “./actions:/app/data/general/actions”, also for data and models

1 Like