High performance self-hosted photo and video management solution.
TypeScript backup-toolfluttergoogle-photosgoogle-photos-alternativejavascriptmobile-appnestjsnodejsphoto-galleryphotosphotos-managementself-hostedsveltesveltekittypescriptvideos
feat(server): add rw2 support (#6231)
Mert41a32b4e6b75
diff --git a/server/Dockerfile b/server/Dockerfileindex bf978d226f..9401e01063 100644--- a/server/Dockerfile+++ b/server/Dockerfile@@ -1,5 +1,5 @@# dev build-FROM ghcr.io/immich-app/base-server-dev:20231228@sha256:e631113b47c7e16a06ca47d3a99bdf269e831dfa4b94f6f4cc923781fa82c4e3 as dev+FROM ghcr.io/immich-app/base-server-dev:20240105@sha256:d88528d55ef13a5df37e141fdb3e00834a4a4673d1cfa243ac999cf87ed79eb6 as devRUN apt-get install --no-install-recommends -yqq tiniWORKDIR /usr/src/app@@ -34,7 +34,7 @@ RUN npm run build# prod build-FROM ghcr.io/immich-app/base-server-prod:20231228@sha256:e51e418d904124f368eca84b504414e40c5b55f9990be043d1749fdf5d1a045c+FROM ghcr.io/immich-app/base-server-prod:20240105@sha256:0472a2689e3d95a498bc0a424c63650cdad446c2959cc91cdf7771ee832ccadcWORKDIR /usr/src/appENV NODE_ENV=production \diff --git a/server/src/domain/domain.constant.ts b/server/src/domain/domain.constant.tsindex 0eeb4666b4..7991d9da2a 100644--- a/server/src/domain/domain.constant.ts+++ b/server/src/domain/domain.constant.ts@@ -115,6 +115,7 @@ const image: Record<string, string[]> = {'.psd': ['image/psd', 'image/vnd.adobe.photoshop'],'.raf': ['image/raf', 'image/x-fuji-raf'],'.raw': ['image/raw', 'image/x-panasonic-raw'],+ '.rw2': ['image/rw2', 'image/x-panasonic-rw2'],'.rwl': ['image/rwl', 'image/x-leica-rwl'],'.sr2': ['image/sr2', 'image/x-sony-sr2'],'.srf': ['image/srf', 'image/x-sony-srf'],