mirror of https://github.com/immich-app/immich.git
Improve Docker setup and reduce memory usage of production containers (#338)
parent
ae7e582ec8
commit
bece6253d5
@ -1 +1 @@
|
||||
npm start microservices
|
||||
node dist/apps/microservices/apps/microservices/src/main
|
||||
@ -1 +1 @@
|
||||
npm start immich
|
||||
node dist/apps/immich/apps/immich/src/main
|
||||
@ -1 +1,6 @@
|
||||
npm run build && node /usr/src/app/build/index.js
|
||||
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
|
||||
Loading…
Reference in New Issue