-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathDockerfile
More file actions
33 lines (25 loc) · 806 Bytes
/
Dockerfile
File metadata and controls
33 lines (25 loc) · 806 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
33
FROM python:3.11-alpine
LABEL maintainer="Mutation Maker https://github.com/Merck/Mutation_Maker"
RUN apk add --no-cache \
build-base \
ca-certificates \
curl
ENV CELERY_BROKER_URL redis://redis:6379/0
ENV CELERY_RESULT_BACKEND redis://redis:6379/0
ENV HOME=/mutation_maker
ENV PRIMER3INSTALL=/primer3
ENV PRIMER3HOME=/primer3/src
WORKDIR ${PRIMER3INSTALL}
RUN curl -OL https://github.com/primer3-org/primer3/archive/v2.4.0.tar.gz
RUN tar xfz v2.4.0.tar.gz --strip-components=1
RUN rm v2.4.0.tar.gz
COPY primer3_patch /var/tmp/
RUN patch -p1 < /var/tmp/primer3_patch
WORKDIR ${PRIMER3HOME}
RUN make
COPY requirements.txt /var/tmp/
RUN pip install six==1.16.0 cython==3.0.7
RUN pip install -r /var/tmp/requirements.txt
COPY . ${HOME}
WORKDIR ${HOME}
CMD celery -A tasks worker --loglevel=info