jupyterhub-deploy-docker/examples/custom-notebook-server/Dockerfile
Michael Pilosov 37f78caac4 permissions.
2019-01-03 04:53:17 +00:00

22 lines
614 B
Docker
Executable File

# Copyright (c) Jupyter Development Team.
# Distributed under the terms of the Modified BSD License.
# Pin to version of notebook image that includes start-singleuser.sh script
FROM jupyter/scipy-notebook:2d878db5cbff
# Install packages in default Python 3 environment
RUN pip install \
beautifulsoup4==4.4.*
# Install packages in Python 2 environment
RUN $CONDA_DIR/envs/python2/bin/pip install \
beautifulsoup4==4.4.*
# Use custom startup script
USER root
COPY docker-entrypoint.sh /srv/docker-entrypoint.sh
ENTRYPOINT ["tini", "--", "/srv/docker-entrypoint.sh"]
CMD ["start-singleuser.sh"]
USER jovyan