Skip to content

Commit

Permalink
Adding Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
tmtabor authored Sep 16, 2021
1 parent 7c85a7c commit dfa4897
Showing 1 changed file with 47 additions and 0 deletions.
47 changes: 47 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# 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 ##
## Launch lab by default ##
#############################################

ENV JUPYTER_ENABLE_LAB="true"
ENV TERM xterm

0 comments on commit dfa4897

Please sign in to comment.