Skip to content

A reactive notebook for Python — run reproducible experiments, query with SQL, execute as a script, deploy as an app, and version with git. Stored as pure Python. All in a modern, AI-native editor.

feat: make `uv` and `uvx` available in Docker images (#4404)

Péter Gyarmati376475945d7a
diff --git a/docker/Dockerfile b/docker/Dockerfile
index 8b43afb74d..32708eb6f0 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -1,6 +1,9 @@
# syntax=docker/dockerfile:1.12
FROM python:3.13-slim AS base
+# Make `uv` and `uvx` available in the PATH for all target images
+COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
+
# Create a non-root user
RUN useradd -m appuser