Skip to content

Commit

Permalink
Docker env launch script for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Dawith committed Sep 30, 2025
1 parent 15f9af7 commit 7f019ea
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions winlaunch.ps1
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 7f019ea

Please sign in to comment.