1
0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2025-01-01 08:31:59 +00:00
immich/server/Dockerfile

88 lines
2.9 KiB
Docker
Raw Permalink Normal View History

# dev build
FROM ghcr.io/immich-app/base-server-dev:20240625@sha256:3899114e00a55cb4138b02e1a5da4d2bd8d401a30c72a706134e0d5567c296eb as dev
RUN apt-get install --no-install-recommends -yqq tini
WORKDIR /usr/src/app
COPY server/package.json server/package-lock.json ./
RUN npm ci && \
# exiftool-vendored.pl, sharp-linux-x64 and sharp-linux-arm64 are the only ones we need
# they're marked as optional dependencies, so we need to copy them manually after pruning
rm -rf node_modules/@img/sharp-libvips* && \
rm -rf node_modules/@img/sharp-linuxmusl-x64
COPY server .
wip wip use prisma for paginated queries remove migration file redundant spread simplified extend use bigint for comparison handle deleted assets in extension Squashed commit of the following: commit 64aac239f00ec02fefab85a626f568d0d9999e63 Author: Alex <alex.tran1502@gmail.com> Date: Thu Mar 21 18:00:22 2024 -0500 chore: consolidate readme files (#8171) commit d6823b128ce536cdf8d268d19d0af25e071ffd12 Author: Daniel Dietzler <36593685+danieldietzler@users.noreply.github.com> Date: Thu Mar 21 23:59:21 2024 +0100 fix(server): validation events actually throwing an error (#8172) * fix validation events * add e2e test commit 508f32c08a5a0de1a45e00a8872cb3bd984bc347 Author: martin <74269598+martabal@users.noreply.github.com> Date: Thu Mar 21 21:01:08 2024 +0100 feat(web): improvements to slideshow (#8032) * feat: improvements to slideshow * feat: pause video with slideshow bar * pr feedback * fix: remove dispatch * fix: simplify * pr feedback * pr feedback --------- Co-authored-by: Alex Tran <alex.tran1502@gmail.com> commit 8ed6ed4d2b840c28a4af6a65b1d6fe06d8c53ce5 Author: Ethan Margaillan <ethan.margaillan@gmail.com> Date: Thu Mar 21 19:39:33 2024 +0100 feat(web): rework context menus: add icons and reorder items (#8090) commit 1abb0bdae830401bd510953fa3952a3e65f9a840 Author: Fynn Petersen-Frey <10599762+fyfrey@users.noreply.github.com> Date: Thu Mar 21 17:51:03 2024 +0100 feat(mobile): faster image loader (#8140) Co-authored-by: Alex Tran <alex.tran1502@gmail.com> commit 5ef62155461eead476495a79be01c6c6ab9927c8 Author: martyfuhry <martyfuhry@gmail.com> Date: Thu Mar 21 12:31:18 2024 -0400 chore(mobile): Bump to Flutter 3.19.0 (#7167) * Bump to Flutter 3.19.0 * Ran pub upgrade --major-versions and removed isar_version alias Wrong http version * Updated share_plus to fix android build * Updates github actions to 3.19.0 * upgrade to 3.19.3 * upgrade to 3.19.3 --------- Co-authored-by: Alex Tran <alex.tran1502@gmail.com> commit 95fb9c4365cbd944936ce3ed399f47abc6e915ea Author: waclaw66 <waclaw66@seznam.cz> Date: Thu Mar 21 18:23:06 2024 +0200 fix(mobile): spacing fixes of #8087 (#8163) fix(mobile): spacing fix of https://github.com/immich-app/immich/pull/8087 commit fa0a5107c24a63baec7e929349fc478a1340d6b7 Author: aviv926 <51673860+aviv926@users.noreply.github.com> Date: Thu Mar 21 17:05:45 2024 +0200 fix(docs): Immich quota claim note (#8151) * Add a note about immich_quota_claim. * Fix * PR feedback * npm run format:fix * use ¹ commit dc3c32943127aaf0d562f1dfc6720898f1dafbd1 Author: Jason Rasmussen <jrasm91@gmail.com> Date: Thu Mar 21 09:36:10 2024 -0500 chore: remove unused type (#8157) commit 2a9f2b4515d1f055b395f5360e8bec928c2c5e69 Author: Jason Rasmussen <jrasm91@gmail.com> Date: Thu Mar 21 09:08:29 2024 -0500 refactor: app modules, main.ts (#8156) commit 793049388b7ed2aa8d3a05819f660b61edf73709 Author: Michel Heusschen <59014050+michelheusschen@users.noreply.github.com> Date: Thu Mar 21 14:44:54 2024 +0100 refactor(web): cleanup notification components (#8150) * refactor(web): cleanup notification components * use counter for ID commit 382b63954ce198cdc57763fac11b812ae07a0fc5 Author: Jason Rasmussen <jrasm91@gmail.com> Date: Thu Mar 21 08:07:47 2024 -0500 refactor: asset v1, app.utils (#8152) commit 87ccba7f9ddf5154558f5b785fc27b64d4de89f4 Author: Ben Basten <45583362+ben-basten@users.noreply.github.com> Date: Thu Mar 21 12:24:19 2024 +0000 feat(web): keyboard access for search dropdown, combobox fixes (#8079) * feat(web): keyboard access for search dropdown Also: fixing cosmetic issue with combobox component. * fix: revert changing required field * fix: create new focusChange action * fix: combobox usability improvements * handle escape key on the clear button * move focus to input when clear button is clicked * leave the dropdown closed if the user has already closed the dropdown and tabs over to the clear button * activate the combobox if a user tabs backwards onto the clear button * rename focusChange to focusOutside * small fixes * do not activate combobox on backwards tabbing * simplify classes in "No results" option * prevent dropdown option from being preselected when clear button is clicked * fix: remove unused event dispatcher interface commit e21c96c0efc4f6040402f086620f45121915b9b2 Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Date: Thu Mar 21 07:14:44 2024 -0500 chore(deps): update redis:6.2-alpine docker digest to 3fcb624 (#8137) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> commit 4de0b2f44e50daa9e42e05e1813d30323ade1543 Author: Ethan Margaillan <ethan.margaillan@gmail.com> Date: Thu Mar 21 13:14:13 2024 +0100 feat(web): add ctrl+a / ctrl+d shortcuts to select / deselect all assets (#8105) * feat(web): use ctrl+a / ctrl+d to select / deselect all assets * fix(web): use shortcutList for ctrl+a / ctrl+d * fix(web): remove useless get() * feat(web): asset interaction store can now select many assets at once commit b588a87d4aad333bc2a7c462f9674b5a7c770d65 Author: Daniel Dietzler <36593685+danieldietzler@users.noreply.github.com> Date: Thu Mar 21 12:59:49 2024 +0100 chore(server): rename domain `repositories` -> `interfaces` (#8147) rename domain repositories commit 44ed1f091957f061c837767cc1d5dafc36d592e5 Author: Alex <alex.tran1502@gmail.com> Date: Thu Mar 21 00:18:38 2024 -0500 fix(web): asset-grid padding/margin left fix (#8125) use media query for grid padding/margin size commit 16d0df796c3dec465096db83d409aef85c1185bd Author: Jason Rasmussen <jrasm91@gmail.com> Date: Wed Mar 20 22:15:09 2024 -0500 refactor: infra folder (#8138) commit 9fd5d2ad9ca8ea7feda7973ee431fad1b03aa538 Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Date: Wed Mar 20 22:59:15 2024 -0400 fix(deps): update machine-learning (#8057) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> commit 28ad004b01c4f23981e784c08a23811a99d84658 Author: Kirill <44521162+kirilldem@users.noreply.github.com> Date: Thu Mar 21 03:58:52 2024 +0100 Update remote-machine-learning.md (#8038) * Update remote-machine-learning.md provide an example to use cuda or another container * Update docs/docs/guides/remote-machine-learning.md Co-authored-by: aviv926 <51673860+aviv926@users.noreply.github.com> * Update docs/docs/guides/remote-machine-learning.md --------- Co-authored-by: Mert <101130780+mertalev@users.noreply.github.com> Co-authored-by: aviv926 <51673860+aviv926@users.noreply.github.com> commit ef4a492cb14424de3a791004af6604a795e1eae9 Author: Daniel Dietzler <36593685+danieldietzler@users.noreply.github.com> Date: Thu Mar 21 00:07:30 2024 +0100 chore(server): move services (#8133) move services commit 6d9e7694b1361527660fa4f30d506964ed9daeb9 Author: Daniel Dietzler <36593685+danieldietzler@users.noreply.github.com> Date: Wed Mar 20 23:53:07 2024 +0100 chore(server): move dtos (#8131) move dtos commit 0c13c63bb62ab6e16730a1bab337a57dc12acd5a Author: Jason Rasmussen <jrasm91@gmail.com> Date: Wed Mar 20 16:46:59 2024 -0500 refactor: infra/domain module (#8130) commit 907eb869bc8804de505da827869164f7f7982639 Author: Jason Rasmussen <jrasm91@gmail.com> Date: Wed Mar 20 16:22:47 2024 -0500 chore: move apps and test utils (#8129) commit c1402eee8e0020994c488c22b175fd693e40be3d Author: Jason Rasmussen <jrasm91@gmail.com> Date: Wed Mar 20 16:02:51 2024 -0500 chore: migrate database files (#8126) commit 84f7ca855a01c5c8d1bd2ce8c8355f17bb8a6125 Author: Daniel Dietzler <36593685+danieldietzler@users.noreply.github.com> Date: Wed Mar 20 21:42:58 2024 +0100 chore(server): move domain interfaces (#8124) move domain interfaces commit 2dcce0335250a593e7990ad5717ec997cfc143a7 Author: Daniel Dietzler <36593685+danieldietzler@users.noreply.github.com> Date: Wed Mar 20 21:25:33 2024 +0100 chore(server): move commands (#8121) move commands commit 96a22ec3c1912766d46b1ddfabb17e4248523aa4 Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Date: Wed Mar 20 16:21:27 2024 -0400 chore(deps): update base-image to v20240319 (major) (#8115) chore(deps): update base-image to v20240319 Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> commit 4b29bccc7c693983d25279e43cebf27ebd27f95f Author: Daniel Dietzler <36593685+danieldietzler@users.noreply.github.com> Date: Wed Mar 20 21:20:38 2024 +0100 chore(server): move cores (#8120) move cores commit 40e079a247f29dedb7d3e55a7b7954a873300d28 Author: Jason Rasmussen <jrasm91@gmail.com> Date: Wed Mar 20 15:15:01 2024 -0500 chore: move controllers and middleware (#8119) commit 81f0265095779a5bb4ba8bea53893aea9a2552af Author: Jason Rasmussen <jrasm91@gmail.com> Date: Wed Mar 20 15:04:03 2024 -0500 chore: organize config, validation, decorators (#8118) * refactor: validation * refactor: utilities * refactor: config commit 92cc647cf6e3b0927146b6ee034a111a623fa3c6 Author: Jason Rasmussen <jrasm91@gmail.com> Date: Wed Mar 20 14:50:01 2024 -0500 chore: renovate grouping (#8113) commit 048d437b0b7f6b21312f0e5c20e99a2c9dde50fa Author: Michel Heusschen <59014050+michelheusschen@users.noreply.github.com> Date: Wed Mar 20 20:40:41 2024 +0100 fix(web): prevent duplicate time bucket loads (#8091) commit ec9a6bca144c565e2e29e0ae34f8da01a663e94d Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Date: Wed Mar 20 15:38:58 2024 -0400 chore(deps): update dependency socket.io-client to v4.7.5 (#8111) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> commit bd5952b94324d61b024ee4ac1e32e398eaa8a871 Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Date: Wed Mar 20 15:35:07 2024 -0400 chore(deps): update vitest monorepo to v1.4.0 (#8112) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> commit 3f0d54c752a3c50a6f12365ed7d431c24f7831d3 Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Date: Wed Mar 20 15:34:12 2024 -0400 fix(deps): update server (#8067) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> commit dab4595a4efb958425adc85bc0092a5582cd091b Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Date: Wed Mar 20 14:09:10 2024 -0500 chore(deps): update redis:6.2-alpine docker digest to fd35357 (#8001) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> commit 6d9ca82b193695e4d3ba9690f52fbd1841b89683 Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Date: Wed Mar 20 14:08:01 2024 -0500 chore(deps): update web (#8066) * chore(deps): update web * fix: linting --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Jason Rasmussen <jrasm91@gmail.com> commit 373a03e8191d44a94ac1e2b663c1956979e916b7 Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Date: Wed Mar 20 14:06:58 2024 -0500 chore(deps): update dependency @types/node to v20.11.28 (#8110) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> commit d97b0259fad7c975ccb6072ffa91dd857fc0bc60 Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Date: Wed Mar 20 14:38:48 2024 -0400 chore(deps): update node.js to bf77dc2 (#8063) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> commit 2267ca1949c4c4d548cd246794393cd61586e6ad Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Date: Wed Mar 20 14:38:28 2024 -0400 chore(deps): update node.js to 8765147 (#8058) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> commit 29be53e70d6c0e98d5011e03e0cd50991f26d9c9 Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Date: Wed Mar 20 14:37:22 2024 -0400 chore(deps): update prom/prometheus docker digest to 5ccad47 (#8071) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> commit 851fe4a49f2f921405bc1ff9713464a72aee390d Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Date: Wed Mar 20 14:33:41 2024 -0400 chore(deps): update dependency @types/node to v20.11.28 (#8064) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> commit 30f499cf2e68c5bdfde866193523dbb1232ae3b4 Author: Daniel Dietzler <36593685+danieldietzler@users.noreply.github.com> Date: Wed Mar 20 19:32:04 2024 +0100 chore(server): use absolute import paths (#8080) update server to use absolute import paths commit 591a641d8d83e4a3c0d7fb0028b671e80a93b653 Author: Alex <alex.tran1502@gmail.com> Date: Wed Mar 20 10:00:35 2024 -0500 chore: post release tasks commit 5b314ffd46f0438f3a60e241240d435c8598e8cf Author: Alex The Bot <alex.tran1502@gmail.com> Date: Wed Mar 20 14:50:57 2024 +0000 Version v1.99.0 commit 0b078c9f9913b057486b033a8a9114b02428f35c Author: Alex <alex.tran1502@gmail.com> Date: Wed Mar 20 09:46:31 2024 -0500 fix(web): Share button visible when viewing album has only shared link (#8100) commit 0d5584ecbb507332d95facc3c3e87f3f51222e8e Author: Alex <alex.tran1502@gmail.com> Date: Wed Mar 20 09:28:19 2024 -0500 fix(web): shift-select again (#8098) commit 5e090646ba4cedf2b045677a22e1407eff27c289 Author: waclaw66 <waclaw66@seznam.cz> Date: Wed Mar 20 16:26:09 2024 +0200 fix(mobile): missing "Add name" translation (#8087) fix(mobile): missing "Add name" translation, positioning commit c4e910dd3d0087ca7dda2daa2a344dcc25582a97 Author: Mert <101130780+mertalev@users.noreply.github.com> Date: Wed Mar 20 10:20:46 2024 -0400 docs(server): add documentation for prometheus metrics (#8084) * add monitoring doc * wording * indent * note instead of tip * Update docs/docs/features/monitoring.md Co-authored-by: bo0tzz <git@bo0tzz.me> * Update docs/docs/features/monitoring.md Co-authored-by: bo0tzz <git@bo0tzz.me> --------- Co-authored-by: Alex Tran <alex.tran1502@gmail.com> Co-authored-by: bo0tzz <git@bo0tzz.me> commit 5a2394af7cdaef46a0990913a7f6f18ffbdd16da Author: Alex <alex.tran1502@gmail.com> Date: Wed Mar 20 09:16:20 2024 -0500 fix(web): shift-select (#8093) * fix(web): shift-select * remove unused code * proper fix commit 48e32269f42d8ec4ab01111110b79605ad9c3db6 Author: Alex <alex.tran1502@gmail.com> Date: Wed Mar 20 09:16:00 2024 -0500 chore: add prometheus.yml to release artifact (#8096) commit dd9d90d21e404f4312d58dcd48b5c424aef782fb Author: Zack Pollard <zackpollard@ymail.com> Date: Wed Mar 20 06:31:52 2024 -0600 test: temporarily disable flaky audit e2e test until #7436 is fixed (#8089) commit 0544c687b939f0375c35aed49c42a2fbb336ad74 Author: Ethan Margaillan <ethan.margaillan@gmail.com> Date: Wed Mar 20 13:29:30 2024 +0100 fix(web): missing margin on people page (#8081) commit e810aae21240be2baea365a99e2b61e2eb1e0996 Author: Michel Heusschen <59014050+michelheusschen@users.noreply.github.com> Date: Wed Mar 20 13:24:08 2024 +0100 fix(web): show search page errors and use feature flag (#8088) commit 9c6a26de9ff7a5e796a56696e9ab8e944a95e793 Author: Michel Heusschen <59014050+michelheusschen@users.noreply.github.com> Date: Wed Mar 20 05:41:31 2024 +0100 chore(web): add asset store unit tests (#8077) chore(web): asset store unit tests commit e6f2bb9f89c8f9b3010eec2d31f3c684d7d3bbae Author: Jonathan Jogenfors <jonathan@jogenfors.se> Date: Wed Mar 20 05:40:28 2024 +0100 fix(server): use extension in originalFileName for libraries (#8083) * use file base * fix: test * fix: e2e-job tests --------- Co-authored-by: Alex Tran <alex.tran1502@gmail.com> commit f908bd4a645306c89c5f90be41dbc7d5273fc308 Author: Ethan Margaillan <ethan.margaillan@gmail.com> Date: Wed Mar 20 05:28:13 2024 +0100 fix(web): prevent drag-n-drop upload overlay from showing when not dragging files (#8082) commit 7395b03b1f99f659b3bc20e31bc1d6bf32cc21fa Author: Thariq Shanavas <thariqshanavas@gmail.com> Date: Tue Mar 19 22:12:36 2024 -0600 fix(docs) minor security warning raised by Borg (#8075) * Fix minor borg security warning * Update template-backup-script.md * removed one unnecessary step * Clarified optional steps * Update template-backup-script.md commit 63b4fc6f6582396918803555f34bcfce82a4ace8 Author: Alex <alex.tran1502@gmail.com> Date: Tue Mar 19 23:07:26 2024 -0500 chore(mobile): svg logo (#8074) * chore(mobile): anti-aliasing logo * use svg * adjust height * better sizing commit f392fe7702ebb09773bf8cb6a08a369ef80f5ce5 Author: Mert <101130780+mertalev@users.noreply.github.com> Date: Tue Mar 19 23:23:57 2024 -0400 fix(server): "view all" for cities only showing 12 cities (#8035) * view all cities * increase limit * rename endpoint * optimize query * remove pagination * update sql * linting * revert sort by count in explore page for now * fix query * fix * update sql * move to search, add partner support * update sql * pr feedback * euphemism * parameters as separate variable * move comment * update sql * linting commit 2daed747cd62a0ec86dac8a71e070d31b1a95686 Author: Mert <101130780+mertalev@users.noreply.github.com> Date: Tue Mar 19 22:42:10 2024 -0400 chore(server): change `save` -> `update` in asset repository (#8055) * `save` -> `update` * change return type * include relations * fix tests * remove when mocks * fix * stricter typing * simpler type commit 9e4bab74944273699e5db9b54d9be5b45f96cd2a Author: shenlong <139912620+shenlong-tanwen@users.noreply.github.com> Date: Tue Mar 19 14:31:56 2024 +0000 feat(mobile): drag to select assets (#8004) fear(mobile): drag to select assets Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com> Co-authored-by: Alex <alex.tran1502@gmail.com> commit 9274c0701b5656d27add8e67ba1c0aa66ad512fd Author: waclaw66 <waclaw66@seznam.cz> Date: Tue Mar 19 16:22:44 2024 +0200 fix(mobile): do not show hidden people (#8072) * fix(mobile): do not show hidden people * dart format fix commit 0bc773fd0094874f5b135c67339f7654ac150014 Author: Alex <alex.tran1502@gmail.com> Date: Tue Mar 19 08:40:14 2024 -0500 refactor(mobile): backup album selection (#8053) * feat(mobile): include album with 0 assets as album option for backup * Show icon instead of thumbnail * Handle backupProgress state transition correctly to always load the backup info * remove todo comment commit c6d24085176b9da263ed0d3ad659267cc802ce8d Author: Ben Basten <45583362+ben-basten@users.noreply.github.com> Date: Tue Mar 19 12:56:41 2024 +0000 feat(web): combobox accessibility improvements (#8007) * bump skip link z index, to prevent overlap with the search box * combobox refactor initial commit * pull label into the combobox component * feat(web): combobox accessibility improvements * fix: replace crypto.randomUUID, fix border UI bug, simpler focus handling (#2) * fix: handle changes in the selected option * fix: better escape key handling in search bar * fix: remove broken tailwind classes Co-authored-by: Michel Heusschen <59014050+michelheusschen@users.noreply.github.com> * fix: remove custom "outclick" handler logic * fix: use focusout instead of custom key handlers to detect focus change * fix: move escape key handling to the window Also add escape key handling to the input box, to make sure that the "recent searches" dropdown gets closed too. * fix: better input event handling Co-authored-by: Michel Heusschen <59014050+michelheusschen@users.noreply.github.com> * fix: highlighting selected dropdown element --------- Co-authored-by: Michel Heusschen <59014050+michelheusschen@users.noreply.github.com> commit 033f83a55a23442185e69f84f7d5840d85fb2ad2 Author: Jan <17313367+JW-CH@users.noreply.github.com> Date: Tue Mar 19 13:47:33 2024 +0100 fix(docs): update authelia OIDC link (#8070) commit 51841d627c33f55c9113efb45efd66a26af3d487 Author: Alex <alex.tran1502@gmail.com> Date: Mon Mar 18 22:39:49 2024 -0500 fix(web): load panorama in shared link (#8060) * fix(web): load panorama in shared link * remove console log commit 50924f0b3dddb1fa86aec8e0f57b01ff562794bb Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Date: Mon Mar 18 19:49:31 2024 -0400 chore(deps): update dependency @types/node to v20.11.27 (#8012) * chore(deps): update dependency @types/node to v20.11.27 * fixes * fixes --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Daniel Dietzler <mail@ddietzler.dev> Co-authored-by: Marty Fuhry <martyfuhry@gmail.com> commit 4aae1da8418e0475f4f3d8eb8cb20fd48d34d27e Author: Daniel Dietzler <36593685+danieldietzler@users.noreply.github.com> Date: Mon Mar 18 22:56:39 2024 +0100 fix(web): repair page typo (#8051) fix typo commit 1a2554548a2ed44d619f0804773ee9b38d22f941 Author: bo0tzz <git@bo0tzz.me> Date: Mon Mar 18 22:54:30 2024 +0100 chore: Simplify install script (#8048) * chore: Simplify install script The default .env file now contains a set UPLOAD_LOCATION already * fix: Remove leftover line commit 40262c30cb7d43e059a3dbe0a146a5dd988ab0e6 Author: Jason Rasmussen <jrasm91@gmail.com> Date: Mon Mar 18 15:59:53 2024 -0500 refactor(server): library service (#8050) * refactor: library service * chore: open api * fix: checks commit 761e7fdd2d914c172ef08084f286ff53483581d4 Author: Alex <alex.tran1502@gmail.com> Date: Mon Mar 18 14:46:52 2024 -0500 feat(server): memory includes partners assets on timeline (#7993) * feat(server): memory includes partners assets on timeline * remove unsued code, generate sql * fix test * add test commit cd8a124b25429ac6a4b5598fdf3fa645a8f238fc Author: aviv926 <51673860+aviv926@users.noreply.github.com> Date: Mon Mar 18 16:00:11 2024 +0200 feat(docs): User management new options (#8029) * User Management * Add photo commit 148428a564ad5876ceb6b3991a7571e65dc15b38 Author: Daniel Dietzler <36593685+danieldietzler@users.noreply.github.com> Date: Sun Mar 17 20:16:02 2024 +0100 feat(server): use nestjs events to validate config (#7986) * use events for config validation * chore: better types * add unit tests --------- Co-authored-by: Jason Rasmussen <jrasm91@gmail.com> commit 14da671bf9a7cab9e0d436816cca39a38bf40416 Author: Tyler Brockett <tylerbrockett@users.noreply.github.com> Date: Sun Mar 17 11:41:55 2024 -0700 fix(docs): add microservices to IMMICH_CONFIG_FILE env var documentation (#8017) commit e8f0f82db05244fc07253ddb3b643ca8fabba89b Author: Davide <22103897+dvdblg@users.noreply.github.com> Date: Sun Mar 17 18:48:59 2024 +0100 feat(ml): add cache_dir option to OpenVINO EP (#8018) * add cache_dir option to OpenVINO EP * update provider options test to include cache_dir * use forward slash instead of string concatenation * fix cache_dir placement in provider options assertion commit b8278404a091b33d41d901255733dfe11a70ed9d Author: Alex <alex.tran1502@gmail.com> Date: Sun Mar 17 10:46:42 2024 -0500 chore(docs): update readme (#8021) commit 45671b0b8b978470eae703248df11c64f760aae7 Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Date: Sat Mar 16 15:34:49 2024 -0500 chore(deps): update typescript-eslint monorepo to v7.2.0 (#8008) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> refactor search, kysely extension set max use class provider directly fix remove deprecated endpoint add truncated date migration fix get by date query fix typing fix typing move with* helpers refactor timeline service fix facial recognition fix test we have `withDeleted` at home rebase
2024-03-17 19:30:52 +00:00
WORKDIR /usr/src/app/server
RUN npm run prisma:generate
WORKDIR /usr/src/app
2023-12-21 15:28:23 +00:00
ENV PATH="${PATH}:/usr/src/app/bin" \
IMMICH_ENV=development \
NVIDIA_DRIVER_CAPABILITIES=all \
NVIDIA_VISIBLE_DEVICES=all
ENTRYPOINT ["tini", "--", "/bin/sh"]
FROM dev AS prod
2022-11-11 04:22:17 +00:00
RUN npm run build
RUN npm prune --omit=dev --omit=optional
COPY --from=dev /usr/src/app/node_modules/@img ./node_modules/@img
2024-04-08 14:53:27 +00:00
COPY --from=dev /usr/src/app/node_modules/exiftool-vendored.pl ./node_modules/exiftool-vendored.pl
2022-11-11 04:22:17 +00:00
# web build
FROM node:20.15.0-alpine3.20@sha256:0ccc08fadfe696f2959f59404ce0d90461c834a7465c4a563c62c0fef4089885 as web
2024-01-12 12:36:27 +00:00
WORKDIR /usr/src/open-api/typescript-sdk
COPY open-api/typescript-sdk/package*.json open-api/typescript-sdk/tsconfig*.json ./
RUN npm ci
COPY open-api/typescript-sdk/ ./
RUN npm run build
WORKDIR /usr/src/app
2024-01-12 12:36:27 +00:00
COPY web/package*.json web/svelte.config.js ./
RUN npm ci
2024-01-12 12:36:27 +00:00
COPY web ./
RUN npm run build
# prod build
FROM ghcr.io/immich-app/base-server-prod:20240625@sha256:19d095589b75bee07c4fd72f53a25c527cd6c5b78162a723d2d8db8e7cd51483
WORKDIR /usr/src/app
2023-12-21 15:28:23 +00:00
ENV NODE_ENV=production \
NVIDIA_DRIVER_CAPABILITIES=all \
NVIDIA_VISIBLE_DEVICES=all
2022-11-11 04:22:17 +00:00
COPY --from=prod /usr/src/app/node_modules ./node_modules
COPY --from=prod /usr/src/app/dist ./dist
COPY --from=prod /usr/src/app/bin ./bin
COPY --from=web /usr/src/app/build ./www
COPY server/resources resources
COPY server/package.json server/package-lock.json ./
COPY server/start*.sh ./
COPY "docker/scripts/get-cpus.sh" ./
RUN npm link && npm install -g @immich/cli && npm cache clean --force
COPY LICENSE /licenses/LICENSE.txt
COPY LICENSE /LICENSE
ENV PATH="${PATH}:/usr/src/app/bin"
ARG BUILD_ID
ARG BUILD_IMAGE
ARG BUILD_SOURCE_REF
ARG BUILD_SOURCE_COMMIT
ENV IMMICH_BUILD=${BUILD_ID}
ENV IMMICH_BUILD_URL=https://github.com/immich-app/immich/actions/runs/${BUILD_ID}
ENV IMMICH_BUILD_IMAGE=${BUILD_IMAGE}
ENV IMMICH_BUILD_IMAGE_URL=https://github.com/immich-app/immich/pkgs/container/immich-server
ENV IMMICH_REPOSITORY=immich-app/immich
ENV IMMICH_REPOSITORY_URL=https://github.com/immich-app/immich
ENV IMMICH_SOURCE_REF=${BUILD_SOURCE_REF}
ENV IMMICH_SOURCE_COMMIT=${BUILD_SOURCE_COMMIT}
ENV IMMICH_SOURCE_URL=https://github.com/immich-app/immich/commit/${BUILD_SOURCE_COMMIT}
VOLUME /usr/src/app/upload
EXPOSE 3001
ENTRYPOINT ["tini", "--", "/bin/bash"]
CMD ["start.sh"]
HEALTHCHECK CMD npm run healthcheck