Skip to content

Commit

Permalink
Use npm install --include=dev instead of --dev
Browse files Browse the repository at this point in the history
to resolve an npm warning
  • Loading branch information
atodorov committed Jan 5, 2025
1 parent 54d75b1 commit cf96da7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile.buildroot
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit cf96da7

Please sign in to comment.