diff --git a/Dockerfile b/Dockerfile index 349bbb7..afd50f6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,7 @@ -# Sharp-maintained runtime with libvips prebuilt (better HEIF success rate) -FROM ghcr.io/lovell/sharp-node:20 +FROM node:20-bookworm-slim + +# Force sharp to ignore any globally-installed libvips (use bundled binaries) +ENV SHARP_IGNORE_GLOBAL_LIBVIPS=1 RUN apt-get update && apt-get install -y \ ffmpeg \