mirror of
https://github.com/immich-app/immich.git
synced 2024-11-24 08:52:28 +02:00
564ace3ddf
* Use runtime env var for loginPageMessage * Rename VITE_LOGIN_PAGE_MESSAGE to PUBLIC_LOGIN_PAGE_MESSAGE in .env.example * Move docker image `npm run build` step into Dockerfile * Remove comment from web Dockerfile
5 lines
200 B
Bash
5 lines
200 B
Bash
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 |