Skip to content
Snippets Groups Projects
Verified Commit 165286b3 authored by Olivier Benz's avatar Olivier Benz
Browse files

Set and use environment variable JUPYTER_PORT

parent f7774e4d
No related branches found
No related tags found
No related merge requests found
......@@ -11,7 +11,6 @@ from jupyter_core.paths import jupyter_data_dir
c = get_config() # noqa: F821 # type: ignore
c.ServerApp.ip = "0.0.0.0"
c.ServerApp.port = 8888
#c.ServerApp.open_browser = False
# https://github.com/jupyter/notebook/issues/3130
......
......@@ -500,7 +500,10 @@ RUN sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master
COPY --from=files /files /
COPY --from=files /files/var/backups/skel ${HOME}
EXPOSE 8888
ARG JUPYTER_PORT=8888
ENV JUPYTER_PORT=${JUPYTER_PORT}
EXPOSE $JUPYTER_PORT
## Configure container startup
ENTRYPOINT ["tini", "-g", "--", "start.sh"]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment