Created
October 12, 2020 21:53
-
-
Save ResidentMario/d2ed161fd6403e162ff1662a96a9d0de to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:18.04 | |
WORKDIR /spell | |
RUN apt-get update && \ | |
apt-get install -y wget git && rm -rf /var/lib/apt/lists/* | |
ENV CONDA_HOME=/root/anaconda/ | |
RUN wget \ | |
https://repo.anaconda.com/miniconda/Miniconda3-py37_4.8.3-Linux-x86_64.sh \ | |
&& mkdir /root/.conda \ | |
&& bash Miniconda3-py37_4.8.3-Linux-x86_64.sh -fbp $CONDA_HOME \ | |
&& rm -f Miniconda3-py37_4.8.3-Linux-x86_64.sh | |
ENV PATH=/root/anaconda/bin:$PATH | |
# NOTE: Spell runs will fail if pip3 is not avaiable at the command line. | |
# conda injects pip onto the path, but not pip3, so we create a symlink. | |
RUN ln /root/anaconda/bin/pip /root/anaconda/bin/pip3 | |
RUN conda install -c conda-forge \ | |
dask-ml nodejs jupyterlab | |
RUN pip install dask_labextension | |
RUN jupyter labextension install dask-labextension | |
RUN jupyter serverextension enable dask_labextension |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment