Skip to content
Snippets Groups Projects

Stop copying node_modules into frontend image

Merged Andreas Ellewsen requested to merge stop-slow-frontend-builds into master

By not having a .dockerignore file we are including the node_modules directory in the frontend image, and then installing all the packages a second time in the build phase when we run npm ci. We now let npm ci do that work as it's supposed to.

Merge request reports

Pipeline #140378 passed

Pipeline passed for 22123c8c on stop-slow-frontend-builds

Test coverage 58.50% (0.00%) from 2 jobs

Merged by Andreas EllewsenAndreas Ellewsen 2 years ago (Jun 23, 2022 9:46am UTC)

Loading

Pipeline #140527 passed

Pipeline passed for 26caa7c8 on master

Test coverage 58.51% (0.00%) from 2 jobs

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading