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
No EOL
200 B
Bash
5 lines
No EOL
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 |