-
Notifications
You must be signed in to change notification settings - Fork 57
Expand file tree
/
Copy pathDockerfile
More file actions
33 lines (28 loc) · 1.14 KB
/
Copy pathDockerfile
File metadata and controls
33 lines (28 loc) · 1.14 KB
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
30
31
32
33
FROM continuumio/miniconda3:v25.11.1
USER root
RUN apt-get update && apt-get install -y cpio tzdata bash && rm -rf /var/lib/apt/lists/*
ENV TZ=America/Los_Angeles
RUN cp /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
RUN groupadd -g 1999 share && useradd -r -u 1999 -g share -m share
# RUN addgroup -g 1999 share && adduser -S -G share -u 1999 share
# copy source customized files for VIP
ARG condaPath=/opt/conda
RUN mkdir /home/BxGenomics;chown share:share /home/BxGenomics
WORKDIR /home/BxGenomics
COPY env_yml/VIPlight_versioned.yml vipdocker/build/install_VIPlight_indocker.sh .
COPY vipdocker/build/respatch/* .
COPY vipdocker/build/plottings/* .
COPY gsea/ .
# install packages
RUN ./install_VIPlight_indocker.sh
USER share
VOLUME /home/BxGenomics/scRNAview
ENV PATH="/opt/conda/envs/vip/bin:${PATH}"
ENV NUMBA_CACHE_DIR=/home/BxGenomics/scRNAview/tmp/.numba_cache
ENV MPLCONFIGDIR=/home/BxGenomics/scRNAview/tmp/.matplotlib
ENV XDG_CACHE_HOME=/home/BxGenomics/scRNAview/tmp/.fontconfig
# prepare entrypoint
COPY vipdocker/build/vip-entrypoint /usr/local/bin/vip-entrypoint
# directly execute cellxgene
ENTRYPOINT ["vip-entrypoint"]
CMD []