more jupyter
All checks were successful
Build and Push jupyter Container / build-and-push-arch (arm64) (push) Successful in 10s
Build and Push jupyter Container / build-and-push-arch (amd64) (push) Successful in 0s
Build and Push jupyter Container / merge-images-via-manifest (push) Successful in -4s

This commit is contained in:
Xaver Russ 2025-10-07 13:26:19 +02:00
parent 2eb3928422
commit 12195ef1a9
2 changed files with 14 additions and 1 deletions

View file

@ -11,7 +11,10 @@ VOLUME ["/opt/notebooks"]
EXPOSE 80
# Start jupyter on port 80 and keep logs in /root/jupyter.log
ENTRYPOINT ["/bin/bash", "-c", "/opt/conda/bin/jupyter notebook --notebook-dir=/opt/notebooks --ip='*' --port=80 --no-browser --allow-root > /root/jupyter.log 2>&1"]
COPY start.sh /usr/local/bin/start.sh
RUN chmod +x /usr/local/bin/start.sh
ENTRYPOINT ["/usr/local/bin/start.sh"]

View file

@ -0,0 +1,10 @@
#!/bin/bash
set -e
# Add more services here if needed, then exec the main one last
exec /opt/conda/bin/jupyter notebook \
--notebook-dir=/opt/notebooks \
--ip='*' \
--port=80 \
--no-browser \
--allow-root