diff --git a/.dockerignore b/.dockerignore index 0963ca6..637e0a4 100644 --- a/.dockerignore +++ b/.dockerignore @@ -16,6 +16,8 @@ node_modules # Quelldokumente und Importartefakte werden zur Laufzeit nicht gebraucht data/import data/analyse.json +# Die Datensätze liegen in der Datenbank; die JSON-Ablage ist reiner Nachweis. +data/policies # Quelllisten der Fachbereiche enthalten Namen von Beschäftigten. Das fertige # Image kopiert data/ ohnehin nicht, aber schon die Build-Schicht soll sie diff --git a/Dockerfile b/Dockerfile index 90351c5..460456f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,7 +16,9 @@ RUN apt-get update \ FROM base AS deps WORKDIR /app COPY package.json package-lock.json ./ -RUN npm ci +# Cache in derselben Schicht entfernen: Er wird nur zur Installation gebraucht +# und bliebe sonst dauerhaft im Image-Layer liegen. +RUN npm ci --no-audit --no-fund && npm cache clean --force # --------------------------------------------------------------------------- # Prisma-CLI – isolierte Installation samt transitiver Abhängigkeiten, damit @@ -25,7 +27,9 @@ RUN npm ci # --------------------------------------------------------------------------- FROM base AS prisma-cli WORKDIR /prisma-cli -RUN npm init -y > /dev/null && npm install --omit=dev prisma@6.16.0 +RUN npm init -y > /dev/null \ + && npm install --omit=dev --no-audit --no-fund prisma@6.16.0 \ + && npm cache clean --force # --------------------------------------------------------------------------- # Build @@ -76,7 +80,8 @@ COPY --from=builder --chown=nextjs:nodejs /app/node_modules/bcryptjs ./node_modu COPY --chown=nextjs:nodejs docker-entrypoint.sh /usr/local/bin/docker-entrypoint.sh # Windows-Zeilenenden würden den Shebang unbrauchbar machen -RUN sed -i 's/ $//' /usr/local/bin/docker-entrypoint.sh && chmod +x /usr/local/bin/docker-entrypoint.sh +RUN sed -i 's/\r$//' /usr/local/bin/docker-entrypoint.sh \ + && chmod +x /usr/local/bin/docker-entrypoint.sh # Ablage der SQLite-Datenbank – als Volume einhängen, sonst ist sie flüchtig RUN mkdir -p /app/data && chown -R nextjs:nodejs /app/data diff --git a/font/Inter/Inter_18pt-Black.ttf b/font/Inter/Inter_18pt-Black.ttf deleted file mode 100644 index 89673de..0000000 Binary files a/font/Inter/Inter_18pt-Black.ttf and /dev/null differ diff --git a/font/Inter/Inter_18pt-BlackItalic.ttf b/font/Inter/Inter_18pt-BlackItalic.ttf deleted file mode 100644 index b33602f..0000000 Binary files a/font/Inter/Inter_18pt-BlackItalic.ttf and /dev/null differ diff --git a/font/Inter/Inter_18pt-ExtraBold.ttf b/font/Inter/Inter_18pt-ExtraBold.ttf deleted file mode 100644 index e71c601..0000000 Binary files a/font/Inter/Inter_18pt-ExtraBold.ttf and /dev/null differ diff --git a/font/Inter/Inter_18pt-ExtraBoldItalic.ttf b/font/Inter/Inter_18pt-ExtraBoldItalic.ttf deleted file mode 100644 index df45062..0000000 Binary files a/font/Inter/Inter_18pt-ExtraBoldItalic.ttf and /dev/null differ diff --git a/font/Inter/Inter_18pt-ExtraLight.ttf b/font/Inter/Inter_18pt-ExtraLight.ttf deleted file mode 100644 index f9c6cfc..0000000 Binary files a/font/Inter/Inter_18pt-ExtraLight.ttf and /dev/null differ diff --git a/font/Inter/Inter_18pt-ExtraLightItalic.ttf b/font/Inter/Inter_18pt-ExtraLightItalic.ttf deleted file mode 100644 index 275f305..0000000 Binary files a/font/Inter/Inter_18pt-ExtraLightItalic.ttf and /dev/null differ diff --git a/font/Inter/Inter_18pt-Light.ttf b/font/Inter/Inter_18pt-Light.ttf deleted file mode 100644 index acae361..0000000 Binary files a/font/Inter/Inter_18pt-Light.ttf and /dev/null differ diff --git a/font/Inter/Inter_18pt-LightItalic.ttf b/font/Inter/Inter_18pt-LightItalic.ttf deleted file mode 100644 index f69e18b..0000000 Binary files a/font/Inter/Inter_18pt-LightItalic.ttf and /dev/null differ diff --git a/font/Inter/Inter_18pt-Thin.ttf b/font/Inter/Inter_18pt-Thin.ttf deleted file mode 100644 index e68ec47..0000000 Binary files a/font/Inter/Inter_18pt-Thin.ttf and /dev/null differ diff --git a/font/Inter/Inter_18pt-ThinItalic.ttf b/font/Inter/Inter_18pt-ThinItalic.ttf deleted file mode 100644 index 134e837..0000000 Binary files a/font/Inter/Inter_18pt-ThinItalic.ttf and /dev/null differ diff --git a/font/Inter/Inter_24pt-Black.ttf b/font/Inter/Inter_24pt-Black.ttf deleted file mode 100644 index dbb1b3b..0000000 Binary files a/font/Inter/Inter_24pt-Black.ttf and /dev/null differ diff --git a/font/Inter/Inter_24pt-BlackItalic.ttf b/font/Inter/Inter_24pt-BlackItalic.ttf deleted file mode 100644 index b89d61c..0000000 Binary files a/font/Inter/Inter_24pt-BlackItalic.ttf and /dev/null differ diff --git a/font/Inter/Inter_24pt-Bold.ttf b/font/Inter/Inter_24pt-Bold.ttf deleted file mode 100644 index e974d96..0000000 Binary files a/font/Inter/Inter_24pt-Bold.ttf and /dev/null differ diff --git a/font/Inter/Inter_24pt-BoldItalic.ttf b/font/Inter/Inter_24pt-BoldItalic.ttf deleted file mode 100644 index 1c3d251..0000000 Binary files a/font/Inter/Inter_24pt-BoldItalic.ttf and /dev/null differ diff --git a/font/Inter/Inter_24pt-ExtraBold.ttf b/font/Inter/Inter_24pt-ExtraBold.ttf deleted file mode 100644 index b775c08..0000000 Binary files a/font/Inter/Inter_24pt-ExtraBold.ttf and /dev/null differ diff --git a/font/Inter/Inter_24pt-ExtraBoldItalic.ttf b/font/Inter/Inter_24pt-ExtraBoldItalic.ttf deleted file mode 100644 index 3461a92..0000000 Binary files a/font/Inter/Inter_24pt-ExtraBoldItalic.ttf and /dev/null differ diff --git a/font/Inter/Inter_24pt-ExtraLight.ttf b/font/Inter/Inter_24pt-ExtraLight.ttf deleted file mode 100644 index 2ec6ca3..0000000 Binary files a/font/Inter/Inter_24pt-ExtraLight.ttf and /dev/null differ diff --git a/font/Inter/Inter_24pt-ExtraLightItalic.ttf b/font/Inter/Inter_24pt-ExtraLightItalic.ttf deleted file mode 100644 index c634a5d..0000000 Binary files a/font/Inter/Inter_24pt-ExtraLightItalic.ttf and /dev/null differ diff --git a/font/Inter/Inter_24pt-Italic.ttf b/font/Inter/Inter_24pt-Italic.ttf deleted file mode 100644 index 1048b07..0000000 Binary files a/font/Inter/Inter_24pt-Italic.ttf and /dev/null differ diff --git a/font/Inter/Inter_24pt-Light.ttf b/font/Inter/Inter_24pt-Light.ttf deleted file mode 100644 index 1a2a6f2..0000000 Binary files a/font/Inter/Inter_24pt-Light.ttf and /dev/null differ diff --git a/font/Inter/Inter_24pt-LightItalic.ttf b/font/Inter/Inter_24pt-LightItalic.ttf deleted file mode 100644 index ded5a75..0000000 Binary files a/font/Inter/Inter_24pt-LightItalic.ttf and /dev/null differ diff --git a/font/Inter/Inter_24pt-Medium.ttf b/font/Inter/Inter_24pt-Medium.ttf deleted file mode 100644 index 5c88739..0000000 Binary files a/font/Inter/Inter_24pt-Medium.ttf and /dev/null differ diff --git a/font/Inter/Inter_24pt-MediumItalic.ttf b/font/Inter/Inter_24pt-MediumItalic.ttf deleted file mode 100644 index be091b1..0000000 Binary files a/font/Inter/Inter_24pt-MediumItalic.ttf and /dev/null differ diff --git a/font/Inter/Inter_24pt-Regular.ttf b/font/Inter/Inter_24pt-Regular.ttf deleted file mode 100644 index 6b088a7..0000000 Binary files a/font/Inter/Inter_24pt-Regular.ttf and /dev/null differ diff --git a/font/Inter/Inter_24pt-SemiBold.ttf b/font/Inter/Inter_24pt-SemiBold.ttf deleted file mode 100644 index ceb8576..0000000 Binary files a/font/Inter/Inter_24pt-SemiBold.ttf and /dev/null differ diff --git a/font/Inter/Inter_24pt-SemiBoldItalic.ttf b/font/Inter/Inter_24pt-SemiBoldItalic.ttf deleted file mode 100644 index 6921df2..0000000 Binary files a/font/Inter/Inter_24pt-SemiBoldItalic.ttf and /dev/null differ diff --git a/font/Inter/Inter_24pt-Thin.ttf b/font/Inter/Inter_24pt-Thin.ttf deleted file mode 100644 index 3505b35..0000000 Binary files a/font/Inter/Inter_24pt-Thin.ttf and /dev/null differ diff --git a/font/Inter/Inter_24pt-ThinItalic.ttf b/font/Inter/Inter_24pt-ThinItalic.ttf deleted file mode 100644 index a3e6feb..0000000 Binary files a/font/Inter/Inter_24pt-ThinItalic.ttf and /dev/null differ diff --git a/font/Inter/Inter_28pt-Black.ttf b/font/Inter/Inter_28pt-Black.ttf deleted file mode 100644 index 66a252f..0000000 Binary files a/font/Inter/Inter_28pt-Black.ttf and /dev/null differ diff --git a/font/Inter/Inter_28pt-BlackItalic.ttf b/font/Inter/Inter_28pt-BlackItalic.ttf deleted file mode 100644 index 3c8fdf9..0000000 Binary files a/font/Inter/Inter_28pt-BlackItalic.ttf and /dev/null differ diff --git a/font/Inter/Inter_28pt-Bold.ttf b/font/Inter/Inter_28pt-Bold.ttf deleted file mode 100644 index 14db994..0000000 Binary files a/font/Inter/Inter_28pt-Bold.ttf and /dev/null differ diff --git a/font/Inter/Inter_28pt-BoldItalic.ttf b/font/Inter/Inter_28pt-BoldItalic.ttf deleted file mode 100644 index 704b12b..0000000 Binary files a/font/Inter/Inter_28pt-BoldItalic.ttf and /dev/null differ diff --git a/font/Inter/Inter_28pt-ExtraBold.ttf b/font/Inter/Inter_28pt-ExtraBold.ttf deleted file mode 100644 index 6d87cae..0000000 Binary files a/font/Inter/Inter_28pt-ExtraBold.ttf and /dev/null differ diff --git a/font/Inter/Inter_28pt-ExtraBoldItalic.ttf b/font/Inter/Inter_28pt-ExtraBoldItalic.ttf deleted file mode 100644 index 1a56735..0000000 Binary files a/font/Inter/Inter_28pt-ExtraBoldItalic.ttf and /dev/null differ diff --git a/font/Inter/Inter_28pt-ExtraLight.ttf b/font/Inter/Inter_28pt-ExtraLight.ttf deleted file mode 100644 index d42b3f5..0000000 Binary files a/font/Inter/Inter_28pt-ExtraLight.ttf and /dev/null differ diff --git a/font/Inter/Inter_28pt-ExtraLightItalic.ttf b/font/Inter/Inter_28pt-ExtraLightItalic.ttf deleted file mode 100644 index 90e2f20..0000000 Binary files a/font/Inter/Inter_28pt-ExtraLightItalic.ttf and /dev/null differ diff --git a/font/Inter/Inter_28pt-Italic.ttf b/font/Inter/Inter_28pt-Italic.ttf deleted file mode 100644 index c2a143a..0000000 Binary files a/font/Inter/Inter_28pt-Italic.ttf and /dev/null differ diff --git a/font/Inter/Inter_28pt-Light.ttf b/font/Inter/Inter_28pt-Light.ttf deleted file mode 100644 index 5eeff3a..0000000 Binary files a/font/Inter/Inter_28pt-Light.ttf and /dev/null differ diff --git a/font/Inter/Inter_28pt-LightItalic.ttf b/font/Inter/Inter_28pt-LightItalic.ttf deleted file mode 100644 index 6b90b76..0000000 Binary files a/font/Inter/Inter_28pt-LightItalic.ttf and /dev/null differ diff --git a/font/Inter/Inter_28pt-Medium.ttf b/font/Inter/Inter_28pt-Medium.ttf deleted file mode 100644 index 00120fe..0000000 Binary files a/font/Inter/Inter_28pt-Medium.ttf and /dev/null differ diff --git a/font/Inter/Inter_28pt-MediumItalic.ttf b/font/Inter/Inter_28pt-MediumItalic.ttf deleted file mode 100644 index 7481e7b..0000000 Binary files a/font/Inter/Inter_28pt-MediumItalic.ttf and /dev/null differ diff --git a/font/Inter/Inter_28pt-Regular.ttf b/font/Inter/Inter_28pt-Regular.ttf deleted file mode 100644 index 855b6f4..0000000 Binary files a/font/Inter/Inter_28pt-Regular.ttf and /dev/null differ diff --git a/font/Inter/Inter_28pt-SemiBold.ttf b/font/Inter/Inter_28pt-SemiBold.ttf deleted file mode 100644 index 8b84efc..0000000 Binary files a/font/Inter/Inter_28pt-SemiBold.ttf and /dev/null differ diff --git a/font/Inter/Inter_28pt-SemiBoldItalic.ttf b/font/Inter/Inter_28pt-SemiBoldItalic.ttf deleted file mode 100644 index 2e22c5a..0000000 Binary files a/font/Inter/Inter_28pt-SemiBoldItalic.ttf and /dev/null differ diff --git a/font/Inter/Inter_28pt-Thin.ttf b/font/Inter/Inter_28pt-Thin.ttf deleted file mode 100644 index 94e6108..0000000 Binary files a/font/Inter/Inter_28pt-Thin.ttf and /dev/null differ diff --git a/font/Inter/Inter_28pt-ThinItalic.ttf b/font/Inter/Inter_28pt-ThinItalic.ttf deleted file mode 100644 index d3d44cd..0000000 Binary files a/font/Inter/Inter_28pt-ThinItalic.ttf and /dev/null differ