Skip to content

Commit

Permalink
Update jupyter.Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
oneillkza authored Mar 5, 2024
1 parent 3f6c197 commit b412178
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions container/jupyter.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,18 @@

FROM jupyter/base-notebook



# must reset to user root to install packages
USER root

# Install Arial font and co:
RUN sudo apt install font-manager
RUN sudo apt install msttcorefonts -qq
RUN apt-get update && apt-get install -y font-manager \
msttcorefonts && \
apt-get autoclean && rm -rf /var/lib/apt/lists/*

# set the user back to original setting
USER $NB_UID

# Install any additional dependencies you need
# For example, if you use Python notebooks, you might want to install additional packages:
Expand Down

0 comments on commit b412178

Please sign in to comment.