Skip to content

Commit

Permalink
Finalize Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
josephmje authored Apr 11, 2021
1 parent 2970023 commit d1b95b8
Showing 1 changed file with 11 additions and 13 deletions.
24 changes: 11 additions & 13 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,28 +21,26 @@ RUN mkdir -p $ANTSPATH && \
| tar -xzC $ANTSPATH --strip-components 1
ENV PATH=$ANTSPATH:$PATH

USER $NB_UID

# Installing precomputed python packages
RUN conda install -y \
RUN conda install -y -c anaconda -c conda-forge \
attr \
dipy \
eddymotion=0.1.2 \
jupyterlab \
jupytext \
nibabel \
nilearn \
nitransforms \
niworkflows \
matplotlib=2.2 \
numpy=1.20 \
pip=20.3 \
requests \
setuptools=51.1 \
zlib; sync && \
conda build purge-all; sync && \
conda clean -tipsy && sync
zlib && \
conda clean --all -f -y && \
fix-permissions "${CONDA_DIR}" && \
fix-permissions "/home/${NB_USER}"

# Install remaining python packages
RUN pip install --no-cache-dir --upgrade pip && \
pip install --no-cache-dir eddymotion nitransforms niworkflows

# Installing nipreps-book
COPY . $HOME/nipreps-book

# Start Jupyter lab
CMD jupyter lab --port=8888 --no-browser --ip=0.0.0.0 --allow-root

0 comments on commit d1b95b8

Please sign in to comment.