From e1572dcd70c29b0b9fdb8544fbc92e9f184e6355 Mon Sep 17 00:00:00 2001 From: Oliver Conzen Date: Sun, 29 Dec 2024 20:00:27 +0100 Subject: [PATCH] Fix modal deployment example --- README.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 69dd244..eace651 100644 --- a/README.md +++ b/README.md @@ -138,9 +138,12 @@ app = modal.App(name="golinks") vol = modal.Volume.from_name("golinks-data", create_if_missing=True) image = modal.Image.from_registry( - "golang:1.23.0-bookworm", + "golang:1.23.4-bookworm", add_python="3.10", -).run_commands(["go install -v github.com/tailscale/golink/cmd/golink@latest"]) +).run_commands([ + "go install -v github.com/tailscale/golink/cmd/golink@latest", + "rm -rf /root/.config" +]) @app.cls( image=image,