fix(docker): correct uv installation path
Fix uv symlink path from /root/.cargo/bin to /root/.local/bin. The uv installer puts binaries in ~/.local/bin, not ~/.cargo/bin. Changes: - Update uv symlink source: /root/.local/bin/uv - Add uvx symlink as well (installed alongside uv) Fixes: /bin/sh: 1: uv: not found error during build
This commit is contained in:
parent
1c9c32022e
commit
1764181e6f
1 changed files with 3 additions and 2 deletions
|
|
@ -32,8 +32,9 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
|||
|
||||
# Install uv and symlink to system path
|
||||
RUN curl -LsSf https://astral.sh/uv/install.sh | sh && \
|
||||
ln -s /root/.cargo/bin/uv /usr/local/bin/uv && \
|
||||
uv --version
|
||||
ln -s /root/.local/bin/uv /usr/local/bin/uv && \
|
||||
ln -s /root/.local/bin/uvx /usr/local/bin/uvx && \
|
||||
uv --version
|
||||
|
||||
# Copy binary
|
||||
COPY --from=builder /src/build/picoclaw /usr/local/bin/picoclaw
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue