I noticed that by not removing the directory in my last change, the slug size increased significantly. Without removing them, you basically end up with two copies of all executables. So two Python executables and two Node executables. Depending on the buildpacks you use of course.
On top of that, it seems that the pgbouncer buildpack also uses the bin and vendor directories.
Sorry bothering again :)
I noticed that by not removing the directory in my last change, the slug size increased significantly. Without removing them, you basically end up with two copies of all executables. So two Python executables and two Node executables. Depending on the buildpacks you use of course.
On top of that, it seems that the pgbouncer buildpack also uses the
bin
andvendor
directories.