rasaboot / Dockerfile
Basit Anwer
Moved back to Spacy with fallback threshold at 0.8
046f158
raw
history blame
409 Bytes
# Rasa-bot with ZIR-AI fallback
# Run:
#
# docker container run --publish 5005:5005 --name zir-ai-rasa zir-ai:rasa
#
# Build:
# docker build . -t zir-ai:rasa
FROM rasa/rasa:2.7.1-spacy-en
USER root
WORKDIR /opt/zir/hotel-bot
COPY . /opt/zir/hotel-bot
RUN chown rasa /opt/zir/hotel-bot
USER rasa
RUN rasa train
ENV RASA_REST_PORT=5005
EXPOSE $RASA_REST_PORT
ENTRYPOINT [ "/bin/sh", "start.sh"]