This is my first subscribed channel where I activate notifications. You are killing it bugbytes. You are more than ready to start creating full courses.
Thank for adding docker with uv • I hope in the next video make it Full Django Ninja with celery and docker on Render hosting Including the celery management when updating code of celery without interrupting the consumed tasks or reset the celery docker image. My best regards
Best Django and other python web frameworks. Thank you for taking your time to make such quality videos. Can you make a video of using Django and Apache Kafka? I will be much appreciated
Is that approach the fastest? I have local development in mind e.g. django with celery etc where adding a dependency forces the rebuild of the container which can take a while with pip. Seems that uv cannot „play out“ its advantage of package caching in such a setup.
Excellent video as always! Just a question… In the Dockerfile, is it possible to pass the uv binary as local file instead of passing it from a remote registry? Just thinking of security.
Maybe this setting might help? docs.astral.sh/uv/pip/environments/#using-arbitrary-python-environments You could create the virtual environment as part of the build, in that location, separate from your app's working directory. The environment variable could point to the created environment. (I've not tried this out or anything, and there may be a better way!)
i am facing this error i followed each step done by you. c => ERROR [stage-0 5/5] RUN uv sync --frozen --no-cache 0.5s ------ > [stage-0 5/5] RUN uv sync --frozen --no-cache: 0.433 error: Project virtual environment directory `/app/.venv` cannot be used because because it is not a valid Python environment (no Python executable was found) ------ Dockerfile:12 -------------------- 10 | 11 | # Install the application dependencies. 12 | >>> RUN uv sync --frozen --no-cache 13 | 14 | # Run the application. -------------------- ERROR: failed to solve: process "/bin/sh -c uv sync --frozen --no-cache" did not complete successfully: exit code: 2
📚 Original uv video: ruclips.net/video/igWlYl3asKw/видео.html
☕ Buy a coffee: ko-fi.com/bugbytes
⭐Top resource to learn Python - datacamp.pxf.io/kOjKkV ⭐
This is my first subscribed channel where I activate notifications. You are killing it bugbytes. You are more than ready to start creating full courses.
That's amazing to hear that - thanks a lot for sharing, and I'm glad you're enjoying the content. Cheers!
The quality of the videos is excellent as always, a video with Django integrated with this wonderful tool would be nice.
I'll need to prep a Django video for this, will get on it!
Best Django channel! As well as other useful Python videos.
Thanks a lot, really appreciate it!
Great as always 🌹
Thanks a lot!
I was waiting for this video with docker thanks. Hope we will see in the near future videos regarding the testing and security phases
Thank you!
Thank for adding docker with uv
•
I hope in the next video make it
Full Django Ninja with celery and docker on Render hosting
Including the celery management when updating code of celery without interrupting the consumed tasks or reset the celery docker image.
My best regards
Thank you! Render hosting is definitely on the list too. Will have a think about what kind of video we could create about your topic.
@@bugbytes3923 Thank you for your valuable time and videos 👍
thank you for your tutorial! would love to see uv and django together
Thank you! Coming up soon.
Really nice video
Cheers!
Best Django and other python web frameworks. Thank you for taking your time to make such quality videos.
Can you make a video of using Django and Apache Kafka? I will be much appreciated
Thanks a lot! I'd love to make videos on Kafka, that's an interesting one - maybe in the near future!
Thanks for video
Thank you for watching!
awesome video again
Thanks a lot!
Is that approach the fastest? I have local development in mind e.g. django with celery etc where adding a dependency forces the rebuild of the container which can take a while with pip. Seems that uv cannot „play out“ its advantage of package caching in such a setup.
Excellent video as always! Just a question… In the Dockerfile, is it possible to pass the uv binary as local file instead of passing it from a remote registry? Just thinking of security.
Thanks a lot! Glad to hear you got it working with Django 5.
Thank you for this quality content, please can you make one of Django Turbo of unfold again thanks 😊
Thank you! I'm not familiar with Django Turbo - what is this used for?
please make a video also for django how uv works for it :)
Coming soon!
It would be awesome if we can move .venv to custom location within docker.
Maybe this setting might help? docs.astral.sh/uv/pip/environments/#using-arbitrary-python-environments
You could create the virtual environment as part of the build, in that location, separate from your app's working directory. The environment variable could point to the created environment.
(I've not tried this out or anything, and there may be a better way!)
good me need uv - Docker django
Thanks a lot! I'll add a Django example soon ;)
Is docker setup same for django?
Similar, but different CMD for the Dockerfile would be one change. I'll try adding a Docker/Django example soon.
Make the same video for Django please
Will do!
Waiting for deployment
i am facing this error
i followed each step done by you.
c => ERROR [stage-0 5/5] RUN uv sync --frozen --no-cache 0.5s
------
> [stage-0 5/5] RUN uv sync --frozen --no-cache:
0.433 error: Project virtual environment directory `/app/.venv` cannot be used because because it is not a valid Python environment (no Python executable was found)
------
Dockerfile:12
--------------------
10 |
11 | # Install the application dependencies.
12 | >>> RUN uv sync --frozen --no-cache
13 |
14 | # Run the application.
--------------------
ERROR: failed to solve: process "/bin/sh -c uv sync --frozen --no-cache" did not complete successfully: exit code: 2
i got the same issue!