-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile
46 lines (33 loc) · 898 Bytes
/
Dockerfile
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# Latest rasa-sdk version: https://hub.docker.com/r/rasa/rasa-sdk/tags
# export VERS=0.1.1
# docker build -t wacovid/cora-actions:latest -t wacovid/cora-actions:${VERS} .
# docker login --username=wacovid --password=xyzzy
# docker push wacovid/cora-actions
# docker build -t test:actions .
# docker run -p 5055:5055 test:actions
FROM rasa/rasa-sdk:1.10.1
SHELL ["/bin/bash", "-c"]
USER root
RUN apt-get update -qq && \
apt-get install -y \
curl \
iputils-ping \
htop
# apt-get clean \
# rm -rf /var/lib/apt/lists/* \
# rm -rf /tmp/* \
# rm -rf /var/tmp/* \
# mkdir /app
# To install packages from PyPI
RUN pip install \
overrides \
aws_requests_auth
USER 1001
WORKDIR /app
COPY . .
RUN ls -li
#RUN pip install -e . --no-cache-dir
#VOLUME ["/app/actions"]
EXPOSE 5055
ENTRYPOINT ["./entrypoint.sh"]
CMD ["start", "--actions", "actions.actions"]