-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
32 lines (26 loc) · 713 Bytes
/
Dockerfile
File metadata and controls
32 lines (26 loc) · 713 Bytes
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
FROM continuumio/miniconda3:25.3.1-1
RUN apt-get update && apt-get install -y \
build-essential \
time \
tzdata \
&& apt-get clean \
&& apt-get purge \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
COPY environment.yml /tmp/
RUN conda env create -f /tmp/environment.yml --name default && \
conda clean -afy
RUN conda init bash
ENV PATH=/opt/conda/envs/default/bin:$PATH
# Build kmer_searcher
WORKDIR /app
COPY . .
WORKDIR /app/kmer_searcher/
RUN bash ./build.sh
ENV PATH=/app/kmer_searcher/build:$PATH
# Install FEDRANN
WORKDIR /app
RUN pip install --no-cache-dir .
WORKDIR /workdir
ENV NUMBA_CACHE_DIR=/tmp/numba_cache
# Set the entrypoint
ENTRYPOINT [ "/app/entrypoint.sh" ]