make json_delta faster

This commit is contained in:
Henning Jacobs
2023-05-10 13:24:12 +02:00
parent eca2032e3f
commit 43c19c400d
6 changed files with 250 additions and 275 deletions

View File

@@ -1,4 +1,4 @@
FROM python:3.10-slim
FROM python:3.11-slim
WORKDIR /
@@ -15,12 +15,12 @@ COPY pyproject.toml /
RUN poetry config virtualenvs.create false && \
poetry install --no-interaction --no-dev --no-ansi
FROM python:3.10-slim
FROM python:3.11-slim
WORKDIR /
# copy pre-built packages to this image
COPY --from=0 /usr/local/lib/python3.10/site-packages /usr/local/lib/python3.10/site-packages
COPY --from=0 /usr/local/lib/python3.11/site-packages /usr/local/lib/python3.11/site-packages
# now copy the actual code we will execute (poetry install above was just for dependencies)
COPY kube_ops_view /kube_ops_view