forked from RasaHQ/rasa_core
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
40 lines (29 loc) · 714 Bytes
/
Dockerfile
File metadata and controls
40 lines (29 loc) · 714 Bytes
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
FROM python:2.7-slim
SHELL ["/bin/bash", "-c"]
RUN apt-get update -qq && \
apt-get install -y --no-install-recommends \
build-essential \
wget \
openssh-client \
graphviz-dev \
pkg-config \
git-core \
openssl \
libssl-dev \
libffi6 \
libffi-dev \
libpng-dev \
curl && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* && \
mkdir /app
WORKDIR /app
# Copy as early as possible so we can cache ...
ADD requirements.txt .
RUN pip install -r requirements.txt --no-cache-dir
ADD . .
RUN pip install -e . --no-cache-dir
VOLUME ["/app/dialogue", "/app/nlu", "/app/out"]
EXPOSE 5005
ENTRYPOINT ["./entrypoint.sh"]
CMD ["start", "-d", "./dialogue", "-u", "./nlu"]