From 83284f62d7ca96442cfb382a07ddfe8771b4c45e Mon Sep 17 00:00:00 2001 From: thanhdanh27600 Date: Thu, 3 Aug 2023 20:45:13 +0700 Subject: [PATCH] add sharp --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index 65232123..42bfc8d8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,6 +6,8 @@ CMD ["echo", "NEXT_PUBLIC_SHORT_DOMAIN=$NEXT_PUBLIC_SHORT_DOMAIN"] WORKDIR /app COPY package.json yarn.lock prisma .env scripts/update_ip_db.sh ./ RUN npm install +# add sharp for image production +RUN npm install sharp # Update IP Database # ENV GEOLITE2_LICENSE_KEY ${GEOLITE2_LICENSE_KEY} # RUN ./update_ip_db.sh