yuki-kimoto / gitprep

Portable GitHub system into your own server
http://gitprep.yukikimoto.com/
906 stars 118 forks source link

Using temporary container to build dependencies #171

Closed alpha6 closed 2 years ago

alpha6 commented 3 years ago

Hello. I've made some modifications in the Docker file. Now it uses temporary container to build and install dependencies and a clean container to run the app. This allowed to shrink the image more than twice in size:

gitprep-builder         latest      c151d79ccf6d        12 minutes ago      127MB
gitprep-orginal         latest      f7eb28e76d05        About an hour ago   288MB