-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/master'
- Loading branch information
Showing
1 changed file
with
55 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |