From 2472d290facac8b4e02248a0415e0c4230cc6013 Mon Sep 17 00:00:00 2001 From: Andreas Gruhler Date: Tue, 26 Nov 2024 14:45:13 +0100 Subject: [PATCH] fix: Dockerfile --- kubernetes/Dockerfile | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) 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"]