diff --git a/CHANGELOG.md b/CHANGELOG.md index 853149e..669ac27 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## [2.5.1] +### Fixed +- Avoid "/bin/sh: 1: gunicorn: not found" error by using poetry <1.8 in Dockerfile + ## [2.5] ### Changed - Updated submission schema to the latest API schema (01-03-2024) diff --git a/Dockerfile b/Dockerfile index 5ffbae9..6b228af 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,7 +8,7 @@ RUN python3 -m venv /home/worker/venv ENV PATH="/home/worker/venv/bin:$PATH" # install requirements -RUN pip install poetry +RUN pip install "poetry<1.8" COPY poetry.lock pyproject.toml ./ RUN poetry config virtualenvs.create false RUN poetry install --no-interaction diff --git a/docker-compose.yml b/docker-compose.yml index af25364..0900336 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -5,6 +5,7 @@ services: web: container_name: preClinVar build: . + platform: linux/amd64 environment: GUNICORN_WORKERS: 1 GUNICORN_TREADS: 1 diff --git a/preClinVar/__version__.py b/preClinVar/__version__.py index 2fdf169..935c3a4 100644 --- a/preClinVar/__version__.py +++ b/preClinVar/__version__.py @@ -1 +1 @@ -VERSION = "2.5" +VERSION = "2.5.1"