dockerjupyter 845 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. FROM quay.io/jupyter/docker-stacks-foundation
  2. SHELL ["/bin/bash", "-o", "pipefail", "-c"]
  3. USER root
  4. RUN mkdir /workspace
  5. RUN chmod 777 -R /workspace
  6. RUN mamba install --yes \
  7. jupyter_kernel_gateway \
  8. ipykernel \
  9. matplotlib \
  10. numpy \
  11. pandas \
  12. seaborn \
  13. pyecharts[all] \
  14. scipy \
  15. scikit-learn\
  16. PyYAML\
  17. pillow\
  18. numba\
  19. matplotlib-inline\
  20. MarkupSafe\
  21. six\
  22. requests \
  23. openpyxl && \
  24. mamba clean --all -f -y && \
  25. fix-permissions "${CONDA_DIR}" && \
  26. fix-permissions "/workspace"
  27. ENV TOKEN="UNSET"
  28. CMD python -m jupyter kernelgateway \
  29. --KernelGatewayApp.ip=0.0.0.0 \
  30. --KernelGatewayApp.port=8888 \
  31. --KernelGatewayApp.auth_token="${TOKEN}" \
  32. --JupyterApp.answer_yes=true \
  33. --JupyterWebsocketPersonality.list_kernels=true
  34. EXPOSE 8888
  35. WORKDIR /workspace