-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
33 lines (26 loc) · 1.21 KB
/
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
32
33
#############
### base ###
#############
FROM ghcr.io/biosimulators/biosimulators-base:latest
LABEL \
org.opencontainers.image.title="BioSimulators" \
org.opencontainers.image.description="Docker image with one Python environment with the validated simulation tools registered BioSimulators" \
org.opencontainers.image.url="https://biosimulators.org/" \
org.opencontainers.image.documentation="https://docs.biosimulations.org/" \
org.opencontainers.image.source="https://github.com/biosimulators/Biosimulators" \
org.opencontainers.image.authors="BioSimulators Team <[email protected]>" \
org.opencontainers.image.vendor="BioSimulators Team"
###################################
# setup pipenv, ports
# Copy over dependency list
COPY Pipfile /app/Pipfile
COPY Pipfile.lock /app/Pipfile.lock
# install pipenv and set up environment
RUN pip install pipenv \
&& pipenv install --system --deploy
# set up matplotlib font manager
RUN python -c "import matplotlib.font_manager"
# install assimulo because pipenv fails to install it
ARG ASSIMULO_VERSION=3.2.9
RUN pip install git+https://github.com/modelon-community/Assimulo.git@Assimulo-${ASSIMULO_VERSION}
CMD /bin/bash /xvfb-startup.sh ipython