mirror of
https://github.com/immich-app/immich
synced 2025-10-17 18:19:27 +00:00
chore: build sdk while server is starting (#22083)
This commit is contained in:
parent
8821c251c3
commit
41641ec000
1 changed files with 2 additions and 2 deletions
|
|
@ -1,8 +1,9 @@
|
|||
#!/usr/bin/env sh
|
||||
|
||||
echo "Build dependencies for Immich Web"
|
||||
cd /usr/src/app || exit
|
||||
|
||||
pnpm --filter @immich/sdk build
|
||||
|
||||
COUNT=0
|
||||
UPSTREAM="${IMMICH_SERVER_URL:-http://immich-server:2283/}"
|
||||
UPSTREAM="${UPSTREAM%/}"
|
||||
|
|
@ -14,5 +15,4 @@ until wget --spider --quiet "${UPSTREAM}/api/server/config" > /dev/null 2>&1; do
|
|||
sleep 1
|
||||
done
|
||||
echo "Connected to $UPSTREAM, starting Immich Web..."
|
||||
pnpm --filter @immich/sdk build
|
||||
pnpm --filter immich-web exec vite dev --host 0.0.0.0 --port 3000
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue