Replies: 1 comment 4 replies
-
Windows? |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I normally use
npm ci
to install dependencies into the build step of a Dockerfile.With my project, this takes about
4.4s2.7s to 3.2s for the install step, on my machine.I tried to switch to bun.
Generated a
bun.lockb
file beforehand and copying it inside the container.Using the following command instead:
bun i --ignore-scripts --frozen-lockfile
, it takes22.7s3.3s to 5s.With
--no-verify
the results are almost identical.How can I speed this up?
EDIT: repeated on Ubuntu (not using Windows/WSL2)
Beta Was this translation helpful? Give feedback.
All reactions