immich
immich copied to clipboard
feat(server): add env to define the path of build-lock.json
This PR adds an env to define the path of build-lock.json
Is there a reason why you can't just read this from the CWD?
Yes, we don't use relative path, only absolute paths
Is there a reason why you can't just read this from the CWD?
Yes, we don't use relative path, only absolute paths
What are you going to set it to?
What are you going to set it to?
Probably /app/immich/server/build-lock.json
Hello, have you tested this in the production build?
Hello, have you tested this in the production build?
Hi! I built the base-image locally and ran the production build. It's running fine.
root@d98d644d1c6e:/usr/src/resources# ls -la
total 24
drwxr-xr-x 1 root root 4096 Jul 3 20:19 .
drwxr-xr-x 1 root root 4096 Jul 3 20:11 ..
-rw-r--r-- 1 root root 694 Jun 30 13:08 build-lock.json
drwxr-xr-x 2 root root 4096 Jul 3 20:13 geodata
drwxr-xr-x 3 root root 4096 Jul 3 20:19 www
Closing in favor of #10958.