-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
30 lines (23 loc) · 1.01 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Dockerfile for a general-purpose Data Science project ;
# Jupyter notebook with R and Python
# optimize for your needs ; see README
# Use the Jupyter minimal notebook image as the base
FROM jupyter/r-notebook
LABEL maintainer="Amnah Siddiqa <[email protected]>"
LABEL version="0.0.0"
LABEL description="General-purpose R and Python Jupyter notebook image"
# Install R packages using conda
RUN conda install -c conda-forge r-hmisc
RUN conda install -c r r-car
RUN conda install -c odsp-test/label/test r-nmf
RUN conda install -c conda-forge r-ggpubr
RUN conda install -c bioconda r-factominer
RUN conda install -c conda-forge r-factoextra
RUN conda install -c bioconda r-pheatmap
# Clean up the conda installation to reduce image size
RUN conda clean --all --yes
# Upgrade pip and install Python packages from requirements file
RUN pip install --upgrade pip
ADD requirements_py.md .
# Uncomment the following line if you want to install Python packages from a requirements file
RUN pip install -r requirements_py.md