-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
41 lines (30 loc) · 1.19 KB
/
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
32
33
34
35
36
37
38
39
40
FROM python:3.9.13
MAINTAINER Cecilia Jensen "[email protected]"
LABEL website=https://github.com/kusterlab/topas-pipeline
LABEL description="TOPAS pipeline"
LABEL tags="mass spectrometry tmt isobaric labeling precision medicine"
LABEL documentation=https://github.com/kusterlab/topas-pipeline
# Tell docker that we don't want to be bothered with questions
ARG DEBIAN_FRONTEND=noninteractive
# set root directory
ENV HOME /root
WORKDIR /root
# for mono installation
RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
RUN echo "deb https://download.mono-project.com/repo/debian stable-buster main" | tee /etc/apt/sources.list.d/mono-official-stable.list
RUN apt-get update && apt-get install -y \
mono-devel \
zip \
&& rm -rf /var/lib/apt/lists/*
# set root directory
ENV HOME /root
WORKDIR /root
RUN pip install poetry==1.5.1
# poetry uses virtualenvs by default -> we want global installation
RUN poetry config virtualenvs.create false
ADD pyproject.toml /root/pyproject.toml
ADD poetry.lock /root/poetry.lock
RUN poetry install --no-cache
COPY . /root/topas-pipeline
ADD hash.file /root/hash.file
WORKDIR /root/topas-pipeline