Rasa Docker image from Github/rasa doesn't work on AWS EC2

When I run this line in my AWS EC2 terminal: docker build -t imagename .

I get this error:

Everyone with my error are changing their: /etc/apt/sources.list file, but that file doesn’t exist in my ec2 instance environment?

Hi @rasafan! Out of curiosity, have you looked into deploying Docker-Compose Quick Install or Docker-Compose Manual Install that also comes with Rasa X? You can read about why here.

Just to confirm, it looks like you are following Rasa-Only Deployment with Docker Compose, correct?

Hi @tyd, I am using open soruce version of Rasa.

I’ve followed this tutorial locally and everything works: https://rasa.com/docs/rasa/user-guide/how-to-deploy/?&_ga=2.40661797.683143211.1581603671-632081686.1580547923#rasa-only-deployment-with-docker-compose

Now I’m trying to build rasa on aws ec2 and I’m running your original docker image for that:

I’ve posted latest progress here: