-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathDockerfile
More file actions
31 lines (26 loc) · 1.29 KB
/
Dockerfile
File metadata and controls
31 lines (26 loc) · 1.29 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
FROM python:3.10-slim
LABEL org.opencontainers.image.vendor="MSKCC" \
org.opencontainers.image.authors="Nikhil Kumar (kumarn1@mskcc.org)" \
org.opencontainers.image.created="2025-09-15T16:04:00Z" \
org.opencontainers.image.licenses="Apache-2.0" \
org.opencontainers.image.version="1.0.0" \
org.opencontainers.image.source="https://github.com/mskcc/beagle" \
org.opencontainers.image.title="Beagle" \
org.opencontainers.image.description="API for managing files, pipelines and runs."
ENV DEBIAN_FRONTEND noninteractive
ENV PIP_ROOT_USER_ACTION ignore
ENV PIP_BREAK_SYSTEM_PACKAGES 1
COPY requirements.txt /app/data/requirements.txt
RUN apt-get update \
# Install dependencies
&& apt-get -y --no-install-recommends install \
wget curl libldap2-dev libsasl2-dev procps libssl-dev libxml2-dev libxslt-dev \
libpq-dev gawk nodejs git nginx build-essential \
# Install python packages
&& pip3 install --upgrade pip \
&& pip3 install --use-pep517 python-ldap \
&& pip3 install --use-pep517 -r /app/data/requirements.txt \
# Clean up image
&& apt-get -y purge --auto-remove build-essential \
&& apt-get -y --no-install-recommends install openssh-client \
&& rm -rf /var/lib/apt/lists/*