# FROM ubuntu:18.04 FROM rasa/rasa:1.9.7 USER root # COPY app /app # COPY server.sh /app/server.sh # RUN ls ENTRYPOINT [] ADD . /app/ RUN ls RUN df -h # RUN apt-get update # RUN apt-get install -y # RUN apt-get install python -y # RUN apt-get install python3-pip -y # RUN python3 -m pip install --no-cache --upgrade pip # RUN pip3 install --no-cache rasa==1.9.7 RUN pip install rasa[spacy] RUN python -m spacy download en_core_web_md RUN python -m spacy link en_core_web_md en RUN ls /app RUN chmod +x /app/server.sh CMD /app/server.sh # RUN rasa run -m models --cors "*" --enable-api --port $PORT --endpoints endpoints.yml --credentials credentials.yml --debug # RUN rasa train # ENTRYPOINT ["/app/server.sh"]