From cf96da7b01bfaf35b788fcde033178f064e3ee96 Mon Sep 17 00:00:00 2001 From: Alexander Todorov Date: Sun, 5 Jan 2025 16:43:36 +0200 Subject: [PATCH] Use npm install --include=dev instead of --dev to resolve an npm warning --- Dockerfile.buildroot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile.buildroot b/Dockerfile.buildroot index 163f6f969e..65d102d28f 100644 --- a/Dockerfile.buildroot +++ b/Dockerfile.buildroot @@ -31,7 +31,7 @@ RUN pip3 install --no-cache-dir -r requirements/mariadb.txt -r requirements/post RUN sed -i "s/tcms.settings.devel/tcms.settings.product/" manage.py # compile tcms/static/js/bundle.js explicitly -RUN pushd tcms/ && npm install --dev && ./node_modules/.bin/webpack && popd +RUN pushd tcms/ && npm install --include=dev && ./node_modules/.bin/webpack && popd RUN ./tests/check-build RUN pip3 install --no-cache-dir dist/kiwitcms-*.tar.gz