Open johannalaitila opened 7 months ago
@TrixterTheTux if I remember correctly, were you thinking that potentially node modules are being copied to a new volume every time the app is built?
Note for self - might be related to this:
https://github.com/docker/compose/issues/1487
we use docker compose up currently
I suspect the cause is https://github.com/OpenVAA/voting-advice-application/blob/a34418fb3df26741d0b35b83f0d4a12bcd34e07f/backend/vaa-strapi/docker-compose.dev.yml#L34 with similar behavior inside the frontend compose, so what happens is that we create an unnamed volume each time the environment gets setup (due to my previous changes of --force-recreate, which happens to increase the frequency of this becoming an issue).
There are a lot Docker volumes being created when building the app. Investigate why this is and if it could be reduced. Also, a lot if images are being created, so same issue there.