-
Notifications
You must be signed in to change notification settings - Fork 232
/
Dockerfile
36 lines (26 loc) · 1.26 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
FROM ubuntu:20.04
RUN apt-get update && yes|apt-get upgrade && \
apt-get install -y git curl wget nano bzip2 sudo net-tools && \
apt-get install -y --no-install-recommends apt-utils
RUN wget https://repo.anaconda.com/archive/Anaconda3-2020.07-Linux-x86_64.sh && \
bash Anaconda3-2020.07-Linux-x86_64.sh -b && \
rm Anaconda3-2020.07-Linux-x86_64.sh
ENV PATH="/root/anaconda3/bin:${PATH}"
RUN sudo apt-get update --fix-missing && \
sudo apt-get install -y gcc g++ && \
sudo apt-get clean
RUN sudo rm -rf /var/lib/apt/lists/*
RUN sudo chown -R root ~/anaconda3/bin && \
sudo chmod -R +x ~/anaconda3/bin && \
conda install -c conda-forge jupyterlab && \
conda install -c conda-forge dask-labextension && \
jupyter serverextension enable dask_labextension && \
conda install -c conda-forge jupyter_kernel_gateway && \
conda clean -afy
RUN echo "Version 23.5.0-beta"
RUN pip install cytoolz && \
pip install llvmlite --ignore-installed && \
pip install git+https://github.com/hi-primus/[email protected]#egg=pyoptimus[pandas] && \
pip install git+https://github.com/hi-primus/[email protected]#egg=pyoptimus[dask]
CMD jupyter notebook --port=8888 --no-browser --ip=0.0.0.0 --allow-root
EXPOSE 8888:8888 8889:8889