Skip to content
This repository was archived by the owner on May 25, 2026. It is now read-only.

Commit 47ce448

Browse files
committed
Update Dockerfile for production image; update README
1 parent f44cb99 commit 47ce448

2 files changed

Lines changed: 11 additions & 7 deletions

File tree

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ and associated job configuration information to a central queue.
88

99
The service consists of:
1010
- a [web API](https://nmpi-v3.hbpneuromorphic.eu/docs) (this repository)
11-
- a GUI client (the [Job Manager app](https://job-manager.hbpneuromorphic.eu/); https://github.com/HumanBrainProject/nmpi-job-manager-app)
11+
- a GUI client (the [Job Manager app](https://neuromorphic-job-manager.apps.ebrains.eu/); [code](https://github.com/HumanBrainProject/nmpi-job-manager-app))
1212
- a [Python/command-line client](https://github.com/HumanBrainProject/hbp-neuromorphic-client).
1313

1414
Users can submit scripts stored locally on their own machine, in a public Git repository,
@@ -20,7 +20,7 @@ log files, and provenance information.
2020
For more information, visit the [EBRAINS website](https://www.ebrains.eu/modelling-simulation-and-computing/simulation/neuromorphic-computing-3).
2121

2222

23-
All code is copyright 2015-2023 CNRS unless otherwise indicated.
23+
All code is copyright 2015-2025 CNRS unless otherwise indicated.
2424

2525
This repository previously contained code for all components of the service.
2626
Each of these is now developed in a separate repository.
@@ -29,4 +29,5 @@ Each of these is now developed in a separate repository.
2929

3030
This open source software code was developed in part or in whole in the Human Brain Project,
3131
funded from the European Union's Horizon 2020 Framework Programme for Research and Innovation
32-
under Specific Grant Agreements No. 720270, No. 785907 and No. 945539 (Human Brain Project SGA1, SGA2 and SGA3).
32+
under Specific Grant Agreements No. 720270, No. 785907 and No. 945539 (Human Brain Project SGA1, SGA2 and SGA3), and in the EBRAINS research infrastructure,
33+
funded from the European Union's Horizon Europe funding programme under grant agreement No. 101147319 (EBRAINS-2.0).

api/deployment/Dockerfile.prod

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,21 +15,24 @@ FROM docker-registry.ebrains.eu/neuromorphic/debian:bookworm-slim
1515
MAINTAINER Andrew Davison <andrew.davison@cnrs.fr>
1616

1717
ENV DEBIAN_FRONTEND noninteractive
18-
RUN apt-get update --fix-missing; apt-get -y -q install python3-pkg-resources python3-pip supervisor build-essential nginx-extras git wget
18+
RUN apt-get update --fix-missing; apt-get -y -q install python3.11-venv supervisor build-essential nginx-extras git wget
1919
RUN unset DEBIAN_FRONTEND
2020

21-
RUN pip3 install --upgrade pip
21+
ENV VENV=/home/docker/venv
22+
23+
RUN python3 -m venv $VENV
24+
RUN $VENV/bin/pip install --upgrade pip
2225

2326
ENV SITEDIR /home/docker/site
2427

2528
COPY requirements.txt.lock $SITEDIR/
26-
RUN pip3 install -r $SITEDIR/requirements.txt.lock
29+
RUN $VENV/bin/pip install -r $SITEDIR/requirements.txt.lock
2730

2831
COPY simqueue $SITEDIR/simqueue
2932
RUN mkdir -p $SITEDIR/tmp_download
3033
RUN chmod a+w $SITEDIR/tmp_download
3134

32-
ENV PYTHONPATH /home/docker:/home/docker/site:/usr/local/lib/python3.11/dist-packages:/usr/lib/python3.11/dist-packages
35+
ENV PYTHONPATH /home/docker:${SITEDIR}:${VENV}/lib/python3.11/site-packages:/usr/local/lib/python3.11/dist-packages:/usr/lib/python3.11/dist-packages
3336

3437
RUN echo "daemon off;" >> /etc/nginx/nginx.conf
3538
RUN rm /etc/nginx/sites-enabled/default

0 commit comments

Comments
 (0)