Skip to content

Commit

Permalink
Create Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
hopedisastro committed Nov 13, 2024
1 parent e93a904 commit 08f54d1
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions trtools_nonlinear_sum/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
FROM python:3.10-bullseye

ARG VERSION=${VERSION:-master}
ARG GIT_REPO=https://github.com/populationgenomics/TRTools-nonlinear-sum.git

# Install necessary packages and clean up to reduce image size
RUN apt-get update && apt-get install --no-install-recommends -y \
git curl bzip2 zip && \
rm -rf /var/lib/apt/lists/* && \
rm -rf /var/cache/apt/*

RUN pip install --no-cache-dir metamist git+${GIT_REPO}@${VERSION}

0 comments on commit 08f54d1

Please sign in to comment.