diff --git a/projects/github.com/nat/openplayground/entrypoint.sh b/projects/github.com/nat/openplayground/entrypoint.sh index 4a43c417..0eabc792 100755 --- a/projects/github.com/nat/openplayground/entrypoint.sh +++ b/projects/github.com/nat/openplayground/entrypoint.sh @@ -2,9 +2,7 @@ set -em -# source <(tea +curl.se) - -PORT=43873 #TODO find a port automatically! +PORT=$(tea get-port) openplayground run --port $PORT & diff --git a/projects/github.com/nat/openplayground/package.yml b/projects/github.com/nat/openplayground/package.yml index 8e62bcf3..a4767142 100644 --- a/projects/github.com/nat/openplayground/package.yml +++ b/projects/github.com/nat/openplayground/package.yml @@ -10,6 +10,7 @@ platforms: darwin dependencies: python.org: ~3.11 gnu.org/bash: '*' + tea.xyz: ^0 build: dependencies: