From 206647eb03be47bd4c564d149b603343859fa313 Mon Sep 17 00:00:00 2001 From: Igor Shatunov Date: Fri, 20 Jan 2023 15:07:07 +0200 Subject: [PATCH] Fix poetry --- Dockerfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 03858dd..85a05f1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,9 +4,13 @@ ENV VAULT_ADDR=https://vault.k8s.psynet.su ENV VAULT_ROLE=raider-ro ENV VAULT_PATH=raider/data/raider +ENV POETRY_VERSION=1.2.2 \ + POETRY_HOME=/usr/local/ + # WORKDIR /python-hvac # COPY python-hvac . -RUN poetry install +RUN curl -sSL https://install.python-poetry.org | python3 -\ + poetry install ENTRYPOINT [ "python-hvac" ] \ No newline at end of file