Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
davidfischak authored Mar 6, 2025
1 parent 01d78ec commit 9631131
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions kernel-python/container/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ RUN conda install --yes --channel conda-forge \
cffi \
future \
pycryptodomex \
leafmap \
rioxarray \
&& \
conda clean --all && \
fix-permissions $CONDA_DIR && \
Expand All @@ -29,10 +27,17 @@ RUN chown jovyan:users /usr/local/bin/bootstrap-kernel.sh && \
chmod 0755 /usr/local/bin/bootstrap-kernel.sh && \
chown --recursive jovyan:users /usr/local/bin/kernel-launchers

USER ${NB_UID}
RUN mamba install --yes \
'leafmap' && \
mamba clean --all -f -y && \
fix-permissions "${CONDA_DIR}" && \
fix-permissions "/home/${NB_USER}"

USER jovyan

ENV KERNEL_LANGUAGE=python

HEALTHCHECK NONE

CMD /usr/local/bin/bootstrap-kernel.sh
CMD /usr/local/bin/bootstrap-kernel.sh

0 comments on commit 9631131

Please sign in to comment.