I’m sending this post just for info. I multiple times tested building process in same way in Docker container and on same host system and the result was always the same. Building process inside the Docker was multiple times - 5x and more slower, than run the same process on host system. Cache, resources limitation or another recommendations was not a problem. I tries the performance tests and the result was, that there was not signifficant difference between docker and host system, therefore the idea was, the reason why the building process is so slow in docker is filesystem.
I tried to update my CI pipeline and I created a tmpfs inside docker, where I copy Meteor files before start the building process. When I’m building on this tmpfs, building is more than 5-times faster like before.
My old related Topic here: Veeery long building time inside Docker container - #29 by a4xrbj1
Thx,
Have a nice day ![]()