Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
tmtabor committed Nov 3, 2021
2 parents e853145 + 752f1bb commit d70492d
Showing 1 changed file with 55 additions and 0 deletions.
55 changes: 55 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
# Dockerfile for running igv-jupyter from a pip install

# Pull the latest known good scipy notebook image from the official Jupyter stacks
FROM jupyter/scipy-notebook:2021-08-16

MAINTAINER Thorin Tabor <[email protected]>
EXPOSE 8888

#############################################
## ROOT ##
## Install npm ##
#############################################

USER root

RUN apt-get update && apt-get install -y npm

#############################################
## $NB_USER ##
## Install python libraries ##
#############################################

USER $NB_USER

RUN conda install -c conda-forge jupyterlab=3.1

#############################################
## $NB_USER ##
## Install nbtools ##
#############################################

RUN pip install nbtools==21.9.0b1

#############################################
## $NB_USER ##
## Install nbtools igv-jupyter ##
#############################################

RUN pip install igv-jupyter && jupyter lab build

#############################################
## $NB_USER ##
## Add all example notebooks ##
#############################################

RUN mkdir /home/jovyan/examples
COPY ./examples /home/jovyan/examples

#############################################
## $NB_USER ##
## Launch lab by default ##
#############################################

ENV JUPYTER_ENABLE_LAB="true"
ENV TERM xterm

0 comments on commit d70492d

Please sign in to comment.