diff --git a/.drone.yml b/.drone.yml index b8b7c3b..19b57c9 100644 --- a/.drone.yml +++ b/.drone.yml @@ -10,6 +10,7 @@ steps: - export POETRY_VERSION=1.2.2 - export POETRY_HOME=/usr/local/ - curl -sSL https://install.python-poetry.org | python3 - + - poetry config virtualenvs.create false - poetry install - printenv - pytest diff --git a/Dockerfile b/Dockerfile index 85a05f1..41948d1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,6 +11,7 @@ ENV POETRY_VERSION=1.2.2 \ # COPY python-hvac . RUN curl -sSL https://install.python-poetry.org | python3 -\ - poetry install + && poetry config virtualenvs.create false \ + && poetry install ENTRYPOINT [ "python-hvac" ] \ No newline at end of file