-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathDockerfile
22 lines (16 loc) · 873 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
FROM continuumio/miniconda3
LABEL maintainer="[email protected]"
RUN conda install -y numpy scipy seaborn h5py hdbscan gcc openmp tqdm biopython fraggenescan hmmer tabulate pytorch pytorch-cuda=11.7 -c pytorch -c nvidia -c bioconda c conda-forge biopython
RUN apt-get update && \
apt-get -y install g++ bzip2 lzma-dev zlib1g-dev libbz2-dev && \
apt-get -y install libcurl4-openssl-dev libpthread-stubs0-dev liblzma-dev libomp-dev
RUN mkdir /usr/LRBinner
COPY . /usr/LRBinner/
WORKDIR /usr/LRBinner/
RUN ["bash", "docker_build.sh"]
ENV PATH="/usr/LRBinner/:${PATH}"
ENTRYPOINT ["lrbinner.py"]
CMD ["--help"]
# docker build -t anuradhawick/lrbinner .
# docker run --rm -it --gpus all -v `pwd`:`pwd` -u `id -u`:`id -g` anuradhawick/lrbinner
# docker run --rm -it --gpus all -v `pwd`:`pwd` -u `id -u`:`id -g` --entrypoint /bin/bash anuradhawick/lrbinner