diff --git a/app/pyproject.toml b/app/pyproject.toml index 83b401ae..a11815b5 100644 --- a/app/pyproject.toml +++ b/app/pyproject.toml @@ -2,8 +2,8 @@ name = "NHSX" version = "0.1.0" description = "NHSX Wagtail site" -authors = ["andy@hactar.is"] -maintainers = ["dragon@dxw.com"] +authors = ["Andy "] +maintainers = ["dragon "] [tool.poetry.dependencies] python = "^3.7" @@ -63,5 +63,5 @@ pytest-sugar = "*" [build-system] -requires = ["poetry>=0.12"] +requires = ["poetry=1.2.2"] build-backend = "poetry.masonry.api" diff --git a/docker/web/Dockerfile b/docker/web/Dockerfile index 3637b55d..e62e05f8 100644 --- a/docker/web/Dockerfile +++ b/docker/web/Dockerfile @@ -124,7 +124,7 @@ RUN mv ./node_modules/ /usr/srv/deps COPY ./app/pyproject.toml /usr/srv/app/pyproject.toml COPY ./app/poetry.lock /usr/srv/app/poetry.lock ## self update disabled currently due to causing timeout issues in the deploy -#RUN $HOME/.local/bin/poetry self update && \ +#RUN $HOME/.local/bin/poetry self update 1.2.2 && \ RUN $HOME/.local/bin/poetry install diff --git a/docker/web/Dockerfile-prod b/docker/web/Dockerfile-prod index 569ad099..aed02a7d 100644 --- a/docker/web/Dockerfile-prod +++ b/docker/web/Dockerfile-prod @@ -120,7 +120,7 @@ RUN mkdir -p /usr/srv/deps RUN mv ./node_modules/ /usr/srv/deps # POETRY (working and installed in django-base) -RUN $HOME/.local/bin/poetry self update && \ +RUN $HOME/.local/bin/poetry self update 1.2.2 && \ $HOME/.local/bin/poetry install