Skip to content

Commit

Permalink
add flag --only=dev to npm install in the tester image
Browse files Browse the repository at this point in the history
Signed-off-by: shirady <[email protected]>
  • Loading branch information
shirady committed Mar 5, 2025
1 parent 92ac724 commit c383b2f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/deploy/NVA_build/Tests.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ RUN cd ./src/test/system_tests/ceph_s3_tests/ && \

##############################################################
# Layers:
# Title: npm install to add dev dependencies (noobaa is build with npm install --prod)
# Title: npm install --only=dev to add dev dependencies (noobaa is build with npm install --prod)
# Size: ~ 33 MB
#
##############################################################
RUN npm install
RUN npm install --only=dev

##############################################################
# Layers:
Expand Down

0 comments on commit c383b2f

Please sign in to comment.