Files
python-hvac/Dockerfile
Igor Shatunov a7ea3b1999
Some checks failed
continuous-integration/drone/push Build is failing
Fix poetry venv
2023-01-20 15:22:07 +02:00

17 lines
379 B
Docker

FROM python:3
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 curl -sSL https://install.python-poetry.org | python3 -\
&& poetry config virtualenvs.create false \
&& poetry install
ENTRYPOINT [ "python-hvac" ]