forked from nch-igm/snvstory
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
31 lines (25 loc) · 882 Bytes
/
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
30
31
FROM continuumio/miniconda3:4.8.2
LABEL container.base.image="continuumio/miniconda3:4.8.2" \
software.name="IGM Churchill Ancestry" \
software.version="3.0.2"
# install system requirements so these can potentially be cached
ENV NUMBA_VERSION="0.48" PATH="/opt/conda/bin:$PATH"
RUN conda install -y \
-c conda-forge \
matplotlib=3.2.1 xgboost=1.0.2 \
pandas=1.0.1 numpy=1.18.1 \
scipy=1.4.1 umap-learn=0.4.2 \
scikit-learn=0.24.1 \
bokeh=2.4.3 && \
# clean up
conda clean --all
# install the application requirements to cache
ARG SERVICE_NAME=Ancestry
WORKDIR /opt/${SERVICE_NAME}
COPY ./requirements.txt ./
RUN pip install -r requirements.txt
RUN rm requirements.txt
# copy source code
COPY ./igm_churchill_ancestry ./igm_churchill_ancestry
ENTRYPOINT ["python3", "-m", "igm_churchill_ancestry"]
ENV TMP_DIR=/data