mirror of
https://github.com/immich-app/immich.git
synced 2024-12-29 15:11:58 +00:00
6 lines
No EOL
214 B
Bash
6 lines
No EOL
214 B
Bash
npm run build
|
|
if [ `id -u` -eq 0 ] && [ -n "$PUID" ] && [ -n "$PGID" ]; then
|
|
exec setpriv --reuid $PUID --regid $PGID --clear-groups node /usr/src/app/build/index.js
|
|
else
|
|
node /usr/src/app/build/index.js
|
|
fi |