chore: dockerfile layout changes (#19673)
Dockerfile layout changes Fix up web path feat: update server env vars for layout
This commit is contained in:
+3
-3
@@ -1,11 +1,11 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
TYPESCRIPT_SDK=/usr/src/open-api/typescript-sdk
|
||||
TYPESCRIPT_SDK=/usr/src/app/open-api/typescript-sdk
|
||||
|
||||
npm --prefix "$TYPESCRIPT_SDK" install
|
||||
npm --prefix "$TYPESCRIPT_SDK" run build
|
||||
|
||||
cd /usr/src/app || exit 1
|
||||
cd /usr/src/app/web || exit 1
|
||||
|
||||
COUNT=0
|
||||
UPSTREAM="${IMMICH_SERVER_URL:-http://immich-server:2283/}"
|
||||
@@ -19,4 +19,4 @@ done
|
||||
|
||||
echo "Connected to $UPSTREAM"
|
||||
|
||||
node ./node_modules/.bin/vite dev --host 0.0.0.0 --port 3000
|
||||
npx vite dev --host 0.0.0.0 --port 3000
|
||||
|
||||
Reference in New Issue
Block a user