containers/containers/jupyter/Dockerfile
Xaver Russ 27a52882de
All checks were successful
Build and Push Alpine Container / build-and-push-arch (arm64) (push) Successful in 49s
Build and Push Alpine Container / build-and-push-arch (amd64) (push) Successful in 39s
Build and Push Alpine Container / merge-images-via-manifest (push) Successful in -2s
added jupyter container
2025-10-07 13:09:34 +02:00

19 lines
511 B
Docker

FROM continuumio/miniconda3
RUN /opt/conda/bin/conda install jupyter -y --quiet
RUN mkdir -p /opt/notebooks
RUN chown -R root:root /opt/notebooks
# Set working dir and expose the same port as your compose file (80)
WORKDIR /opt/notebooks
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"]