unicef / kindly

GNU Affero General Public License v3.0
22 stars 17 forks source link

Reduce Docker Build time/size #158

Open nathanfletcher opened 2 years ago

nathanfletcher commented 2 years ago

The Kindly API has the ability to run in a Docker container via the repo's Dockerfile. However, the build of this step can take quite a long time to complete for both local testing and deployment which can get to close to 30mins from my local run. Also at times, the build size exceeds the default configured size allocated by Docker. As an enhancement, it would be great to have this build time shortened (less than 10 minutes), with limited build resources.