-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
31 lines (23 loc) · 895 Bytes
/
Dockerfile
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
###############################################################################
# Dockerfile to build Quantconn
###############################################################################
# Use python base image
# FROM python:3.9-slim-bullseye
FROM python:3.9
# RUN apt-get update \
# && apt-get install -y --no-install-recommends git \
# && apt-get purge -y --auto-remove \
# && rm -rf /var/lib/apt/lists/*
ENV PYTHONUNBUFFERED True
# Set the working directory in the container
WORKDIR /quantconn
COPY . .
# ARG COMMIT
RUN pip install --upgrade pip
RUN pip install --no-cache-dir packaging numpy scipy nibabel h5py tqdm
RUN pip install --no-cache-dir dipy
RUN pip install --no-cache-dir .
# RUN --mount=source=.git,target=.git,type=bind \
# pip install --no-cache-dir .
# RUN pip install --no-cache-dir git+https://github.com/dipy/miccai23.git@${COMMIT}
ENTRYPOINT ["quantconn"]