-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Usage of tool uv
in Dockerfile fails to activate environment
#13273
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I cloned the repo and it mostly "just worked" for me? I had to run
(It's immediately failing because I don't have |
You don't count. Tool |
You mount your working directory as a volume
This can clobber the existing environment as mentioned at https://docs.astral.sh/uv/guides/integration/docker/#developing-in-a-container |
Thanks, @zanieb. You guys are so amazing, I feel blessed everytime I come here asking for help. |
Hi all. I want to use uv on my Dockerfile. After more than 3 hours reading and implementing the documentation, without success to "activate the environment", I came here for help. THe repository is here. The command to run the application is
docker compose up -d --build
.After "succesfully building the application", following error pops up:
I am sure, I am using it wrongly, but at this point, I am tired of trying new things out. Therefore, any help is appreciated.
The text was updated successfully, but these errors were encountered: