Zanie Blue
Zanie Blue
@charliermarsh I don't think this should be in scope for the first round of stabilizations.
@tiangolo just a heads up that providing a `python` shim is tracked in https://github.com/astral-sh/uv/issues/6265 Note we also do cover some of this in our [Docker integration guide](https://docs.astral.sh/uv/guides/integration/docker/) but clearly there's...
@adiberk — yeah that won't work. See our [documentation](https://docs.astral.sh/uv/guides/integration/docker/#installing-a-project) for a recommendation on how to activate the environment properly. tldr; ```dockerfile # Place executables in the environment at the front...
Does adding the `.venv` to your project's `.dockerignore` fix that too?
> > Does adding the `.venv` to your project's `.dockerignore` fix that too? > > It didn’t in my case. Can you elaborate here? It still mounted `.venv` into the...
@adiberk I explored this and `.dockerignore` only applies to build so you need to include another volume clause if you're doing a bind mount of your project at runtime e.g....
@edmorley thank you for your thorough response. I take that feedback pretty seriously and it makes me think we'll need to expose _some_ way to allow custom virtual environment locations....
Great to hear! Thank you!
> I would probably err on the side of removing `-o requirements.txt` from the header, actually. Wouldn't that make it hard to reproduce the file?
So I can copy and paste the command :) > If the aim is to reproduce, then you need to know if --upgrade was called or not... I don't think...