Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

Commit f7b8169

Browse files
committed
fix: torch dockerfile in podcast part 1
1 parent 2a6644f commit f7b8169

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/guides/python/ai-podcast-part-1.mdx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -560,6 +560,7 @@ ENV HANDLER=${HANDLER}
560560

561561
ENV UV_COMPILE_BYTECODE=1 UV_LINK_MODE=copy PYTHONPATH=.
562562
WORKDIR /app
563+
COPY uv.lock pyproject.toml /app/
563564
RUN --mount=type=cache,target=/root/.cache/uv \
564565
--mount=type=bind,source=uv.lock,target=uv.lock \
565566
--mount=type=bind,source=pyproject.toml,target=pyproject.toml \
@@ -586,7 +587,8 @@ RUN apt-get update -y && \
586587
add-apt-repository ppa:deadsnakes/ppa && \
587588
apt-get update -y && \
588589
apt-get install -y python3.11 && \
589-
ln -sf /usr/bin/python3.11 /usr/local/bin/python3.11
590+
ln -sf /usr/bin/python3.11 /usr/local/bin/python3.11 && \
591+
ln -sf /usr/bin/python3.11 /usr/local/bin/python
590592

591593
# Copy the application from the builder
592594
COPY --from=builder --chown=app:app /app /app

0 commit comments

Comments
 (0)