From c98b95d872e4b1107e73bfa18dee3a6509e869b0 Mon Sep 17 00:00:00 2001 From: Stefan Marr Date: Sun, 7 May 2023 16:05:57 +0100 Subject: [PATCH] Explicitly install sharp to see whether that makes a difference on docker MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit I think, there may be an issue with `npm ci` trying to install a macos version… --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 91d6e60f..83dd05fa 100644 --- a/Dockerfile +++ b/Dockerfile @@ -36,6 +36,7 @@ COPY ./package.json ./package-lock.json /project/ # Set the working dir to the project & install and compile all dependency WORKDIR /project/ +RUN npm install --ignore-scripts=false --foreground-scripts --verbose sharp RUN npm ci --ignore-scripts . ENV POSTGRES_PASSWORD=docker