diff --git a/kubernetes/Dockerfile b/kubernetes/Dockerfile index 4a339c9..3280dec 100644 --- a/kubernetes/Dockerfile +++ b/kubernetes/Dockerfile @@ -1,4 +1,9 @@ -FROM docker.io/python:3.9 +FROM docker.io/python:3.12 -COPY vault_snapshot / -CMD ["/vault_snapshot/vault_snapshot.py"] +COPY vault_snapshot /vault_snapshot +COPY requirements.txt /vault_snapshot/ + +WORKDIR /vault_snapshot +RUN pip install -r requirements.txt + +CMD ["./vault_snapshot.py"]