From c4af7606dae00e93d3153d0234dd1f4406870a82 Mon Sep 17 00:00:00 2001 From: Lars Date: Wed, 28 Oct 2026 16:43:23 +0100 Subject: [PATCH] Give the test image the repo files its static checks read Co-Authored-By: Claude Opus 5.5 --- .dockerignore | 3 +++ deploy/Dockerfile | 2 ++ 2 files changed, 5 insertions(+) diff --git a/.dockerignore b/.dockerignore index b4e8e02..18d3e0e 100644 --- a/.dockerignore +++ b/.dockerignore @@ -7,6 +7,9 @@ !scripts/ !tests/ !deploy/ +# Nur für die statischen Prüfungen in der Test-Stage (nicht im Laufzeit-Image): +!.dockerignore +!.gitea/workflows/ # Innerhalb der freigegebenen Ordner wieder ausschließen **/__pycache__/ diff --git a/deploy/Dockerfile b/deploy/Dockerfile index ad8dc57..4b71748 100644 --- a/deploy/Dockerfile +++ b/deploy/Dockerfile @@ -57,6 +57,8 @@ COPY deploy/requirements-test.lock /tmp/requirements-test.lock RUN pip install --no-cache-dir --require-hashes --no-deps -r /tmp/requirements-test.lock COPY tests/ tests/ COPY deploy/ deploy/ +COPY .dockerignore ./ +COPY .gitea/workflows/ .gitea/workflows/ USER mindnet:mindnet ENTRYPOINT [] CMD ["python", "-m", "pytest", "-q", "-p", "no:cacheprovider", \