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

feat(server): add rw2 support (#6231)

This commit is contained in:
Mert 2024-01-06 18:58:04 -05:00 committed by GitHub
parent 0750e13d3f
commit 41a32b4e6b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View file

@ -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 dev
RUN apt-get install --no-install-recommends -yqq tini
WORKDIR /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:0472a2689e3d95a498bc0a424c63650cdad446c2959cc91cdf7771ee832ccadc
WORKDIR /usr/src/app
ENV NODE_ENV=production \

View file

@ -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'],