FROM nfcore/base
LABEL authors="Gisela Gabernet, Simon Heumos, Alexander Peltzer" \
      description="Docker image containing all requirements for nf-core/bcellmagic pipeline"

COPY environment.yml /
RUN conda env create -f /environment.yml && conda clean -a
ENV PATH /opt/conda/envs/nf-core-bcellmagic-1.0.0/bin:$PATH
RUN ln -s /opt/conda/envs/nf-core-bcellmagic-1.0.0/bin/vsearch /opt/conda/envs/nf-core-bcellmagic-1.0.0/bin/usearch
