File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- FROM python:3
1+ # Python base image [pre-built ubuntu-base python env]
2+ FROM python:3.12-slim
23
3- # Install required Python libraries
4- RUN pip install numpy pandas matplotlib
4+ # reduce package overhead
5+ ENV DEBIAN_FRONTEND=noninteractive \
6+ TZ=UTC \
7+ PYTHONDONTWRITEBYTECODE=1 \
8+ PYTHONUNBUFFERED=1 \
9+ PIP_NO_CACHE_DIR=1 \
10+ APP_HOME=/opt/MoVana
511
6- # Set the working directory
7- WORKDIR ~/MoVana
12+ # install dependencies
13+ RUN apt-get update && apt-get install -y --no-install-recommends build-essential \
14+ wget \
15+ git \
16+ bedtools \
17+ bcftools \
18+ openjdk-17-jdk \
19+ gfortran \
20+ zlib1g-dev && \
21+ rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
22+
23+ # workspace
24+ RUN mkdir -p $APP_HOME
25+
26+ # Setup Working directory`
27+ WORKDIR $APP_HOME
828
929# Copy the WDL script into the container
10- COPY . ~/MoVana
30+ COPY . $APP_HOME
31+
32+ # Cromwell (make sure Java is installed)
33+ RUN mkdir -p cromwell && wget https://github.com/broadinstitute/cromwell/releases/download/90/cromwell-90.jar && mv cromwell-90.jar cromwell/
34+
35+ # python pkgs
36+ # RUN python3 -m venv 0env && source 0env/bin/activate && \
37+ RUN python3 -m pip install --upgrade pip setuptools wheel && python3 -m pip install --no-cache-dir pandas numpy matplotlib
1138
12- # Set the entry point
13- ENTRYPOINT ["python3 " ]
39+ # Set login shell
40+ CMD ["/bin/bash -c " ]
You can’t perform that action at this time.
0 commit comments