Skip to content

Commit

Permalink
fix uv install (#230)
Browse files Browse the repository at this point in the history
https://github.com/astral-sh/uv/releases/tag/0.5.0
breaking change to the install root
  • Loading branch information
JoshCu authored Nov 8, 2024
1 parent 039719f commit 9ba92c1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ COPY --from=troute_build /ngen/t-route/src/troute-*/dist/*.whl /tmp/

RUN ln -s /dmod/bin/ngen /usr/local/bin/ngen

ENV UV_INSTALL_DIR=/root/.cargo/bin
RUN curl -LsSf https://astral.sh/uv/install.sh | sh
ENV PATH="/root/.cargo/bin:${PATH}"
RUN uv self update && uv venv && \
Expand Down Expand Up @@ -192,4 +193,4 @@ ENV PATH="/ngen/.venv/bin:${PATH}"
COPY --from=troute_build /tmp/troute_url /ngen/troute_url
COPY --from=ngen_build /tmp/ngen_url /ngen/ngen_url

ENTRYPOINT ["./HelloNGEN.sh"]
ENTRYPOINT ["./HelloNGEN.sh"]

0 comments on commit 9ba92c1

Please sign in to comment.