Skip to content

Commit

Permalink
fix (JupyterHub): Uploaded start-notebook.py.
Browse files Browse the repository at this point in the history
  • Loading branch information
antoniochavesgarcia committed Nov 15, 2023
1 parent 44d23e0 commit 625ebfa
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion jupyterhub/tensorflow-gpu/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ COPY run-hooks.sh /usr/local/bin/run-hooks.sh

COPY --from=base_notebook /usr/local/bin/start-notebook.sh /usr/local/bin/
COPY --from=base_notebook /usr/local/bin/start-singleuser.sh /usr/local/bin/
COPY --from=base_notebook /usr/local/bin/start-notebook.py /usr/local/bin/
COPY --from=base_notebook /usr/local/bin/start-singleuser.py /usr/local/bin/
# COPY --from=base_notebook /etc/jupyter/jupyter_server_config.py /etc/jupyter/
# COPY --from=base_notebook /etc/jupyter/docker_healthcheck.py /etc/jupyter/
COPY jupyter_server_config.py /etc/jupyter/jupyter_server_config.py
Expand Down Expand Up @@ -193,7 +195,7 @@ ENV JUPYTER_PORT=8888
EXPOSE $JUPYTER_PORT

# Configure container startup
CMD ["start-notebook.sh"]
CMD ["start-notebook.py"]

# Fix permissions on /etc/jupyter as root
USER root
Expand Down

0 comments on commit 625ebfa

Please sign in to comment.