-
gia-api
:mag_right: UI и парсер таблиц Excel с сайта РЦОИ г. Москвы со списками работников пунктов проведения экзаменов (ППЭ) ГИА, ОГЭ, ЕГЭ.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
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.
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?