From 41328a97034c01a3d74b9d71c6b59709a1b16aa4 Mon Sep 17 00:00:00 2001 From: Peter Schuster Date: Thu, 11 Apr 2024 13:11:36 +0200 Subject: [PATCH] Fix freetype dependency in docker build for all platforms The freetype2 npm package has prebuilt bindings, but not for all platforms supported by the TallyArbiter docker image. This fixes the issue by rebuilding the freetype2 dependency during the docker image build. Closes issue #683 --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 114106ae..91978ce4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,6 +9,7 @@ RUN apk add --update nodejs npm \ && npm i --ignore-script --omit=dev \ && npm uninstall bcryptjs \ && npm install bcryptjs \ + && node-gyp -C node_modules/@julusian/freetype2 rebuild \ && npm uninstall node-gyp -g \ && apk del .build-deps