16 lines
328 B
Docker
16 lines
328 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 install
|
|
|
|
ENTRYPOINT [ "python-hvac" ] |