File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -116,7 +116,16 @@ $ docker run -it $(docker build -q .) /bin/bash -c "cowsay -t hello"
116116 || ||
117117```
118118
119- To determine the tool bin directory, run ` uv tool dir --bin ` in the container.
119+ !!! note
120+
121+ The tool bin directory's location can be determined by running the `uv tool dir --bin` command
122+ in the container.
123+
124+ Alternatively, it can be set to a constant location:
125+
126+ ```dockerfile title="Dockerfile"
127+ ENV UV_TOOL_BIN_DIR=/opt/uv-bin/
128+ ```
120129
121130## Optimizations
122131
@@ -153,7 +162,8 @@ setting `UV_NO_CACHE`.
153162
154163!!! note
155164
156- The cache directory's location can be determined with the `uv cache dir` command.
165+ The cache directory's location can be determined by running the `uv cache dir` command in the
166+ container.
157167
158168 Alternatively, the cache can be set to a constant location:
159169
You can’t perform that action at this time.
0 commit comments