diff --git a/backend/Dockerfile b/backend/Dockerfile index a03d20ebdaab09618dd58d7d76ead1fcec8b46aa..c440e58e003eeaa751c3ff0875bc78e6ae04acb8 100644 --- a/backend/Dockerfile +++ b/backend/Dockerfile @@ -4,6 +4,11 @@ LABEL maintainer="Paolo Brasolin <paolo.brasolin@eurac.edu>" WORKDIR /app COPY package*.json ./ + +# FIXME: apparently today GH is congestioned and we need to use a chinese mirror. +RUN npm config set sharp_binary_host "https://npmmirror.com/mirrors/sharp" +RUN npm config set sharp_libvips_binary_host "https://npmmirror.com/mirrors/sharp-libvips" + RUN npm install COPY . .