Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
dtandersen authored Jan 30, 2024
1 parent f28d93c commit 2400b12
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,15 @@ USER root



#RUN conda env create --file /tmp/env.yml && \
# eval "$(conda shell.bash hook)" && \
# conda activate ${KERNEL} && \
# mkdir -p $CONDA_PREFIX/etc/conda/activate.d && \
RUN conda env create --file /tmp/env.yml && \
eval "$(conda shell.bash hook)" && \
conda activate ${KERNEL} && \
mkdir -p $CONDA_PREFIX/etc/conda/activate.d && \
# CUDNN_PATH=$(dirname $(python -c "import nvidia.cudnn;print(nvidia.cudnn.__file__)")) && \
# echo 'export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$CONDA_PREFIX/lib/:$CUDNN_PATH/lib' > $CONDA_PREFIX/etc/conda/activate.d/env_vars.sh && \
# python -m ipykernel install --name=${KERNEL} && \
# fix-permissions $CONDA_DIR && \
# fix-permissions /home/$NB_USER
python -m ipykernel install --name=${KERNEL} && \
fix-permissions $CONDA_DIR && \
fix-permissions /home/$NB_USER

# 3) install packages using notebook user
USER jovyan

0 comments on commit 2400b12

Please sign in to comment.