From 2c83e52c152c8504fbf7b789e4ab333c7569b454 Mon Sep 17 00:00:00 2001 From: Alex Date: Sun, 22 May 2022 10:15:38 -0500 Subject: [PATCH] Added dependency in docker-compose (#173) * Added dependency in docker-compose * downgrade sharp version to 0.28 --- server/Dockerfile | 2 +- server/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/server/Dockerfile b/server/Dockerfile index 7be1e30e9f..95f50dfcb0 100644 --- a/server/Dockerfile +++ b/server/Dockerfile @@ -6,7 +6,7 @@ WORKDIR /usr/src/app COPY package.json package-lock.json ./ -RUN apk add --update-cache build-base python3 +RUN apk add --update-cache build-base python3 libheif vips-dev vips RUN npm install diff --git a/server/package.json b/server/package.json index 8e5823713b..6a1e2f9137 100644 --- a/server/package.json +++ b/server/package.json @@ -54,7 +54,7 @@ "reflect-metadata": "^0.1.13", "rimraf": "^3.0.2", "rxjs": "^7.2.0", - "sharp": "^0.30.4", + "sharp": "^0.28.0", "socket.io-redis": "^6.1.1", "systeminformation": "^5.11.0", "typeorm": "^0.2.41"