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.

docs: improve prebuilt containers (#2669)

Myles Scolnick0fb983bea708
diff --git a/docs/guides/deploying/prebuilt_containers.md b/docs/guides/deploying/prebuilt_containers.md
index 8cceda0d8c..d9f335e055 100644
--- a/docs/guides/deploying/prebuilt_containers.md
+++ b/docs/guides/deploying/prebuilt_containers.md
@@ -12,6 +12,8 @@ We provide the following variants:
or any particular version of marimo; for example, `marimo:0.8.3`, `marimo:0.8.3-data`, `marimo:0.8.3-sql`.
+Each container is built on `3.12-slim`, but if you'd like to see different configurations, please file an issue or submit a PR!
+
## Running locally
To run the container locally, you can use the following command:
@@ -19,3 +21,15 @@ To run the container locally, you can use the following command:
```bash
docker run -p 8080:8080 -it ghcr.io/marimo-team/marimo:latest-sql
```
+
+## Use in a Dockerfile
+
+To use a prebuilt container in a Dockerfile, you can use the following command:
+
+```dockerfile
+FROM ghcr.io/marimo-team/marimo:latest-sql
+
+# Install any additional dependencies here
+
+CMD ["marimo", "edit", "--no-token", "-p", "8080", "--host", "0.0.0.0"]
+```