Skip to content

High performance self-hosted photo and video management solution.

Fixed NPM build dependency conflict for server

Alex397f8c70b499
diff --git a/server/Dockerfile b/server/Dockerfile
index e7fa33d2ef..902e9aaf31 100644
--- a/server/Dockerfile
+++ b/server/Dockerfile
@@ -8,8 +8,8 @@ COPY package.json package-lock.json ./
RUN apk add --update-cache build-base python3 libheif vips-dev vips ffmpeg
-RUN npm install
+RUN npm install --legacy-peer-deps
COPY . .
-RUN npm run build
\ No newline at end of file
+RUN npm run build