-
I've a standard Django App which is a DRF api I've built a year go, nothing fancy, lots of views but around 20-25 models and my Docker image weights 1 GB with venv/ excluded 1.3GB with it, are those some normal numbers ? It bothers me because it takes some time to build on fly.io everytime I redeploy.
-
InfluxDB
Purpose built for real-time analytics at any scale. InfluxDB Platform is powered by columnar analytics, optimized for cost-efficient storage, and built with open data standards.
-
gia-api
:mag_right: UI и парсер таблиц Excel с сайта РЦОИ г. Москвы со списками работников пунктов проведения экзаменов (ППЭ) ГИА, ОГЭ, ЕГЭ.
Short answer - multistage build. Here is my example (136 MiB in image registry, collectstatic included) https://github.com/spirkaa/gia-api/blob/main/.docker/django/k8s.Dockerfile
-
About ~400mb.
Related posts
-
What is your development cycle when using docker and containers? What's the general flow between developing locally and running the containers to test.
-
Django Docker Containers and good example projects
-
Am I the only one spending more time dockerizing Django and Building CI/CD pipelines than actually coding in Django?
-
Seeking advice on Django starters / templates
-
Interested in a guide about django development and full hosting for production?