jupyterhub-deploy-docker/examples/custom-notebook-server/Dockerfile
Justin Tyberg 73163c76b9 Initial version.
(c) Copyright IBM Corp. 2016
2016-04-14 15:17:14 -04:00

22 lines
614 B
Docker

# 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