-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
22 lines (17 loc) · 809 Bytes
/
Dockerfile
File metadata and controls
22 lines (17 loc) · 809 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
FROM jupyter/base-notebook
USER root
RUN apt-get update -y && \
apt-get install -y --no-install-recommends build-essential graphviz mecab libmecab-dev mecab-ipadic mecab-ipadic-utf8 && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
USER jovyan
RUN conda install --yes --freeze-installed nomkl python-graphviz scikit-learn pandas numpy matplotlib seaborn && \
conda clean -afy && \
find /opt/conda/ -follow -type f -name '*.a' -delete && \
find /opt/conda/ -follow -type f -name '*.pyc' -delete && \
find /opt/conda/ -follow -type f -name '*.js.map' -delete
COPY requirements.txt .
RUN pip --no-cache-dir install -r requirements.txt && rm requirements.txt
WORKDIR /home/jovyan
COPY sample .
CMD ["start-notebook.sh","--NotebookApp.token=''","--NotebookApp.password=''"]