-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDockerfile
More file actions
32 lines (23 loc) · 795 Bytes
/
Dockerfile
File metadata and controls
32 lines (23 loc) · 795 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
# minimal Python base image
FROM python:3.11.9-slim
# metadata
LABEL description="t2pmhc: A Structure-Informed Graph Neural Network for Predicting TCR-pMHC Binding"
# Create app directory
WORKDIR /app
# Install system build tools if needed for pip packages
RUN apt-get update && apt-get install -y --no-install-recommends \
git \
build-essential \
ca-certificates \
procps \
&& rm -rf /var/lib/apt/lists/*
# Clone repo and checkout the release tag
RUN git clone --depth 1 --branch v1.0.2 https://github.com/qbic-pipelines/t2pmhc.git /app/t2pmhc
# Set workdir
WORKDIR /app/t2pmhc
# Install Python dependencies
RUN pip install --no-cache-dir -r requirements.txt
# Install package
RUN pip install --no-cache-dir .
# Set entrypoint
ENTRYPOINT ["t2pmhc"]