From 337ef46acb6e507d295c23cfba6a42f4bf8aca7f Mon Sep 17 00:00:00 2001 From: Lorenz Hilpert Date: Fri, 25 Apr 2025 12:06:15 +0200 Subject: [PATCH] Updated .gitignore and Dockerfile for improved build process. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 🛠️ **Refactor**: Changed npm install command in Dockerfile for better script handling - 🗑️ **Chore**: Removed junit.xml from repository - 🎨 **Style**: Added junit.xml to .gitignore for cleaner project structure - 🎨 **Style**: Ensured newline at end of file in .gitignore --- .gitignore | 3 +- Dockerfile | 2 +- junit.xml | 85 ------------------------------------------------------ 3 files changed, 3 insertions(+), 87 deletions(-) delete mode 100644 junit.xml diff --git a/.gitignore b/.gitignore index a675dc073..50a86906e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,7 @@ # See http://help.github.com/ignore-files/ for more about ignoring files. .matomo +junit.xml # compiled output /dist @@ -60,4 +61,4 @@ libs/swagger/src/lib/* .angular -storybook-static \ No newline at end of file +storybook-static diff --git a/Dockerfile b/Dockerfile index 6d776536b..bae202f34 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,7 +8,7 @@ WORKDIR /app COPY . . RUN umask 0022 RUN npm version ${SEMVERSION} -RUN npm install --always-auth=false +RUN npm install --foreground-scripts RUN if [ "${IS_PRODUCTION}" = "true" ] ; then npm run-script build-prod ; else npm run-script build ; fi # stage final diff --git a/junit.xml b/junit.xml deleted file mode 100644 index 49ec46595..000000000 --- a/junit.xml +++ /dev/null @@ -1,85 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file