hello ya’ll!
I built a docker image of my rasa chatbot that i am trying to deploy with heroku. The image works just fine locally but when deploying an H10 app crashed error arise.
Here’s my dockerfile
FROM ubuntu:18.04
ENTRYPOINT []
RUN apt-get update && apt-get install -y python3 python3-pip && python3 -m pip install --no-cache --upgrade pip && pip3 install --no-cache rasa==1.9.5 && pip install spacy==2.1.9 && pip install https://github.com/explosion/spacy-models/releases/download/fr_core_news_md-2.1.0/fr_core_news_md-2.1.0.tar.gz && python3 -m spacy link fr_core_news_md fr
RUN pip3 install gunicorn
ENV LANG C.UTF-8
ADD . /app/
WORKDIR /app
CMD rasa run --model models --enable-api --cors “*” --debug -p $PORT
quoting form the heroku documentations:
" The web process must listen for HTTP traffic on $PORT
, which is set by Heroku. EXPOSE
in Dockerfile
is not respected, but can be used for local testing. Only HTTP requests are supported."
So i do believe that there is some sort of correctness to my dockerfile.
Please help !