fix: add build deps for sharp (libc6-compat, python3, make, g++)

This commit is contained in:
kleap-admin 2026-01-16 16:09:37 +00:00
parent ebc4a07d2d
commit f15eab8370
1 changed files with 5 additions and 0 deletions

View File

@ -4,6 +4,11 @@
FROM node:22-alpine
# Install build dependencies for native modules (sharp, etc.)
# libc6-compat: Required for sharp on Alpine
# python3 make g++: Required for node-gyp builds
RUN apk add --no-cache libc6-compat python3 make g++
WORKDIR /app
# Copy package files first (for better Docker layer caching)