Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,10 @@ COPY biosimdb_interface/ biosimdb_interface/
# Install application and its dependencies into the venv
RUN pip install --upgrade pip
RUN pip install --no-cache-dir setuptools==84.2.1 gunicorn==27.0.1
RUN pip install --no-cache-dir .
# ensure latest version of biosim-extractor is installed in container
RUN pip install --no-cache-dir . && \
TAG=$(python3 -c "import json,urllib.request as u; print(json.load(u.urlopen('https://api.github.com/repos/CCPBioSim/biosim-extractor/releases/latest'))['tag_name'])") && \
pip install --no-cache-dir --upgrade "https://github.com/CCPBioSim/biosim-extractor/archive/refs/tags/${TAG}.tar.gz"

# Stage 3: Runtime
FROM ubuntu:26.04@sha256:6a06111c3b0a8600feadb270aec771dc239bf407b25625f93f44ab00e11f4d3c
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ dependencies = [
"MDAnalysis==2.11.0",
"python-dotenv==1.2.4",
"gunicorn>=26,<28",
"biosim-extractor>=1.2.0,<2.0"
"biosim-extractor>=1.2.2,<2.0"
]

[project.urls]
Expand Down
Loading