File size: 409 Bytes
d8de300 1ff5eb9 d8de300 1ff5eb9 33cbfcd d8de300 33cbfcd d8de300 1ff5eb9 a934e45 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
# 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"]
|