Skip to content

Commit

Permalink
Fixing this so there's only one install
Browse files Browse the repository at this point in the history
  • Loading branch information
AidanHilt committed Jan 25, 2024
1 parent 55d4622 commit 5d17dd0
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions jupyter-restricted-download/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -85,16 +85,12 @@ COPY resources/custom.js /home/$NB_USER/.jupyter/custom/
COPY resources/jupyter_notebook_config.py /home/$NB_USER/.jupyter/tmp.py
RUN cat /home/$NB_USER/.jupyter/tmp.py >> /home/$NB_USER/.jupyter/jupyter_notebook_config.py && rm /home/$NB_USER/.jupyter/tmp.py

# Putting this all the way down here, to make sure its the last thing done
# The image can't function with jsonschema version 3.2.0, which some dependency installs
RUN pip install jsonschema==4.20.0

# Set the default command to start JupyterLab
USER $NB_USER

# Putting this all the way down here, to make sure its the last thing done
# The image can't function with jsonschema version 3.2.0, which some dependency installs
RUN pip install jsonschema==4.20.0 --upgrade

# Set the default command to start JupyterLab
WORKDIR /home/$NB_USER
ENTRYPOINT ["jupyter", "lab", "--allow-root", "--ip=0.0.0.0", "--port=8888", "--no-browser"]

0 comments on commit 5d17dd0

Please sign in to comment.