Description Usage Arguments Details
produce.dockerfile
generates a Dockerfile
which can be used to build a Docker image for running Jupyter
notebook in Docker without the local installation of Jupyter notebook
1 |
vignette |
Name of the Jupyter notebook file. Absolute path has to be prepended if the notebook is not in R working directory. |
The function scans the Jupyter notebook for R package dependencies and
produces a script packages.R for installing these R packages in the Docker
image.
The Docker image is built from the generated
Dockerfile, which is written in the same directory as the Jupyter notebook.
In order to build a Docker image for running the vignette you don't need
IPython Notebook installed on your machine. If you installed Docker,
simply run in command line
$ docker build -t imagename .
in the same directory as the Dockerfile. After building the Docker image for
your Jupyter notebook, check the operating system-specific commands for running
Jupyter notebooks in Docker containers on the following
web page https://hub.docker.com/r/vladkim/rnaseq/
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.