-
Notifications
You must be signed in to change notification settings - Fork 34
/
Copy pathDockerfile
58 lines (49 loc) · 1.08 KB
/
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
47
48
49
50
51
52
53
54
55
56
57
58
FROM ubuntu:18.04
ENV TZ=Europe/Warsaw
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
RUN apt update && apt install -y \
openjdk-8-jdk \
python3-pip \
python3-tk \
wget \
vim \
git
RUN pip3 install --upgrade pip
RUN pip3 install \
numpy \
jupyter \
requests \
sklearn_crfsuite \
spacy\
requests \
pandas \
sklearn \
rasa \
tensorflow \
keras \
flask \
pymessenger \
slackeventsapi \
webexteamssdk \
nltk \
gensim \
matplotlib \
pickle-mixin \
jellyfish \
textblob \
nest_asyncio \
skype-chatbot
RUN pip3 install rasa-x -i https://pypi.rasa.com/simple
EXPOSE 8888
EXPOSE 9000
EXPOSE 5000
RUN python3 -m spacy download en
RUN useradd -ms /bin/bash codete
RUN adduser codete sudo
USER codete
WORKDIR /home/codete/
RUN python3 -m nltk.downloader all
RUN mkdir /home/codete/workshop/
WORKDIR /home/codete/workshop/
RUN git clone https://github.com/codete/oreilly-intelligent-bots
CMD jupyter-notebook --ip=0.0.0.0 --NotebookApp.token='' --NotebookApp.password='' --no-browser --notebook-dir=/home/codete/workshop/