Skip to content

Commit

Permalink
chore: simplified Dockerfile for improved installation
Browse files Browse the repository at this point in the history
  • Loading branch information
jonrkarr committed Aug 29, 2021
1 parent 2b8e472 commit 2a24701
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 8 deletions.
11 changes: 7 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Base OS
FROM python:3.9-slim-buster

ARG VERSION="0.0.4"
ARG VERSION="0.0.5"
ARG SIMULATOR_VERSION=3.0.0b

# metadata
Expand All @@ -28,8 +28,7 @@ LABEL \
maintainer="BioSimulators Team <info@biosimulators.org>"

# Install GINsim
RUN mkdir -p /usr/share/man/man1/ \
&& apt-get update -y \
RUN apt-get update -y \
&& apt-get install -y --no-install-recommends \
default-jre \
wget \
Expand All @@ -44,12 +43,16 @@ RUN mkdir -p /usr/share/man/man1/ \
wget \
&& apt-get autoremove -y \
&& rm -rf /var/lib/apt/lists/*
ENV PATH=/usr/local/share/colomoto/bin:$PATH

# Copy code for command-line interface into image and install it
COPY . /root/Biosimulators_GINsim
RUN pip install /root/Biosimulators_GINsim \
&& rm -rf /root/Biosimulators_GINsim
RUN mkdir -p /.config/matplotlib \
&& mkdir -p /.cache/matplotlib \
&& chmod ugo+rw /.config/matplotlib \
&& chmod ugo+rw /.cache/matplotlib \
&& python -c "import matplotlib.font_manager"
ENV VERBOSE=0 \
MPLBACKEND=PDF

Expand Down
2 changes: 1 addition & 1 deletion biosimulators_ginsim/_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '0.0.4'
__version__ = '0.0.5'
6 changes: 3 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
biosimulators_utils[logging,sbml] >= 0.1.104
ginsim
kisao >= 2.20
biosimulators_utils[logging,sbml] >= 0.1.110
ginsim >= 0.4.4
kisao >= 2.27
lxml
numpy

0 comments on commit 2a24701

Please sign in to comment.