From 7f019ea023b4382dc8928dc336a38d1da692d170 Mon Sep 17 00:00:00 2001 From: Dawith Date: Tue, 30 Sep 2025 10:50:05 -0400 Subject: [PATCH] Docker env launch script for windows --- winlaunch.ps1 | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 winlaunch.ps1 diff --git a/winlaunch.ps1 b/winlaunch.ps1 new file mode 100644 index 0000000..8bc4858 --- /dev/null +++ b/winlaunch.ps1 @@ -0,0 +1,15 @@ +Get-Content .env | foreach { + $name, $value = $_.split('=') + if ([string]::IsNullOrWhiteSpace($name) -or $name.Contains('#')) { + return + } + Set-Content env:\$name $value +} + +docker run --rm -it ` + -v ${PWD}:/app/code ` + -v ${env:DATAPATH}:/app/workdir ` + --gpus all ` + --shm-size=4g ` + --name geonosis ` + geonosis