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.
Python artificial-intelligencedagdata-sciencedata-visualizationdataflowdeveloper-toolsmachine-learningnotebookspipelinepythonreactivesqlweb-app
Install Docker dependencies as root (#11062)
Trevor Manz8723039d5715
diff --git a/docker/Dockerfile b/docker/Dockerfileindex a3765c9a66..db007b31c5 100644--- a/docker/Dockerfile+++ b/docker/Dockerfile@@ -16,14 +16,15 @@ ARG marimo_version=0.12.8LABEL org.opencontainers.image.version="${marimo_version}"ENV MARIMO_SKIP_UPDATE_CHECK=1-ENV UV_SYSTEM_PYTHON=1+ENV VIRTUAL_ENV=/opt/venv+ENV PATH="${VIRTUAL_ENV}/bin:${PATH}"ENV UV_COMPILE_BYTECODE=1ENV UV_LINK_MODE=copy-RUN uv pip install --no-cache-dir marimo==${marimo_version} && \+# Keep packages and wheel data in one writable environment.+RUN uv venv --seed "${VIRTUAL_ENV}" && \+ uv pip install --no-cache-dir marimo==${marimo_version} && \mkdir -p /app/data && \- chown -R appuser:appuser /app && \- chown -R appuser:appuser /usr/local/lib/python3.13/site-packages/ && \- chown -R appuser:appuser /usr/local/bin/+ chown -R appuser:appuser /app "${VIRTUAL_ENV}"COPY --chown=appuser:appuser marimo/_tutorials tutorialsRUN rm -rf tutorials/__init__.py