|
a |
|
b/Dockerfile |
|
|
1 |
FROM khanlab/hippunfold_deps:v0.5.1 |
|
|
2 |
|
|
|
3 |
MAINTAINER alik@robarts.ca |
|
|
4 |
|
|
|
5 |
COPY . /src/ |
|
|
6 |
|
|
|
7 |
# avoid pre-downloading the models to make for lighter container |
|
|
8 |
# ENV HIPPUNFOLD_CACHE_DIR=/opt/hippunfold_cache |
|
|
9 |
ENV PYTHONNOUSERSITE=1 |
|
|
10 |
|
|
|
11 |
#install hippunfold and imagemagick (for reports) |
|
|
12 |
RUN pip install --no-cache-dir /src && \ |
|
|
13 |
apt install -y graphviz && \ |
|
|
14 |
wget https://imagemagick.org/archive/binaries/magick && \ |
|
|
15 |
mv magick /usr/bin && chmod a+x /usr/bin/magick |
|
|
16 |
|
|
|
17 |
|
|
|
18 |
ENTRYPOINT [ "hippunfold" ] |
|
|
19 |
|