-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
37 lines (25 loc) · 1.08 KB
/
Dockerfile
File metadata and controls
37 lines (25 loc) · 1.08 KB
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
FROM harbor.lji.org/iedb-public/tcrmatch:1.0.2
# Prevent python from writing bytcode files to disk
ENV PYTHONDONTWRITEBYTECODE=1
# Send stdout/stderr streams straight to termainl
ENV PYTHONUNBUFFERED=1
# Set path to TCRMatch, which is required to run BCRMatch
ENV TCRMATCH_PATH=/TCRMatch
RUN apt update && \
apt install -y wget make && \
apt-get update && \
apt-get install -y python3-pip && \
apt-get install -y build-essential vim && \
pip install --upgrade setuptools pip && \
echo 'alias python="python3"' >> ~/.bashrc
RUN apt-get install ca-certificates -y && \
wget https://cacerts.digicert.com/GeoTrustRSACA2018.crt.pem -O /usr/local/share/ca-certificates/GeoTrustRSACA2018.crt && \
wget https://cacerts.digicert.com/DigiCertGlobalRootCA.crt.pem -O /usr/local/share/ca-certificates/DigiCertGlobalRootCA.crt && \
update-ca-certificates
RUN mkdir -p /src/bcrmatch
WORKDIR /src/bcrmatch
COPY requirements.txt .
RUN pip install -r requirements.txt
COPY . .
RUN bash download-latest-models.sh
CMD ["sh", "-c", "python3 run_bcrmatch.py ${BCRMATCH_ARGS}"]