forked from NationalGenomicsInfrastructure/TACA
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
31 lines (24 loc) · 813 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 python:3.11.5 AS base
# Update pip to latest version
RUN python -m pip install --upgrade pip
# Install dependencies
RUN apt-get update \
&& apt-get upgrade -y \
&& apt-get install -y curl \
&& apt-get install -y rsync
# Needed to install requirements,
# in devcontainer a local mounted version of flowcell_parser is used
RUN git clone https://github.com/SciLifeLab/flowcell_parser.git
RUN cd flowcell_parser \
&& python -m pip install -r requirements.txt \
&& pip3 install -e .
# Install dependencies
COPY requirements.txt requirements.txt
COPY requirements-dev.txt requirements-dev.txt
RUN python -m pip install -r requirements-dev.txt
RUN mkdir /root/.taca/
FROM base AS testing
COPY . /taca
RUN python -m pip install -e /taca
WORKDIR /taca/tests
CMD ["python", "-m", "unittest"]