-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathDockerfile.miniconda
54 lines (46 loc) · 1.06 KB
/
Dockerfile.miniconda
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
FROM ubuntu:20.04
ARG conda_version=4.9.2
ARG python_version=3.8
LABEL version='0.1.0'
LABEL maintainer="Giang Nguyen <[email protected]>"
LABEL description="Data Science stack with conda"
ENV LANG C.UTF-8
RUN apt-get update && apt-get install -y --no-install-recommends \
git \
wget \
vim \
ca-certificates && \
rm -rf /var/lib/apt/lists/*
RUN wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
RUN bash Miniconda3-latest-Linux-x86_64.sh -b -p /miniconda
ENV PATH=$PATH:/miniconda/condabin:/miniconda/bin
RUN conda install -y python=${python_version} && \
pip install --upgrade pip && \
conda install -c defaults -c conda -c conda-forge \
cython \
mkl-service \
numpy \
scipy \
sympy \
pandas \
pandasql \
statsmodels \
scikit-learn \
matplotlib \
seaborn \
jupyter \
jupyterlab \
nltk \
gensim \
pydot \
h5py \
python-dateutil \
pydot \
mpld3 \
pip && \
pip install \
tensorflow
keras
pycodestyle
WORKDIR /code
CMD ["jupyter", "notebook", "--port=8888", "--no-browser", "--ip=0.0.0.0", "--allow-root"]