Skip to content

Commit

Permalink
Wrap in Python init?
Browse files Browse the repository at this point in the history
  • Loading branch information
codetheweb committed May 6, 2024
1 parent 9c7cb2a commit 23e2edf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/docker_entrypoint.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ if ($args -join ' ' -match '^uvicorn.*') {
Write-Host "WARNING: Please remove 'uvicorn chromadb.app:app' from your command line arguments. This is now handled by the entrypoint script." -ForegroundColor Red
Start-Server -commandLine ($args -join ' ')
} else {
$newArgs = 'uvicorn chromadb.app:app ' + ($args -join ' ')
Write-Host "Starting 'uvicorn chromadb.app:app' with args: $newArgs"
$newArgs = 'python -m uvicorn chromadb.app:app ' + ($args -join ' ')
Write-Host "Starting 'python -m uvicorn chromadb.app:app' with args: $newArgs"
Start-Server -commandLine $newArgs
}

0 comments on commit 23e2edf

Please sign in to comment.