build: switch to node:22-slim image for libzim compat

This commit is contained in:
Jake Turner 2026-02-09 16:23:47 -08:00
parent 3f41c8801c
commit f090468d20
No known key found for this signature in database
GPG Key ID: D11724A09ED19E59
2 changed files with 6 additions and 3 deletions

View File

@ -3,3 +3,6 @@
.git
node_modules
*.log
admin/storage
admin/node_modules
admin/build

View File

@ -1,7 +1,7 @@
FROM node:22.16.0-alpine3.22 AS base
FROM node:22-slim AS base
# Install bash & curl for entrypoint script compatibility, graphicsmagick for pdf2pic, and vips-dev & build-base for sharp
RUN apk add --no-cache bash curl graphicsmagick vips-dev build-base
RUN apt-get update && apt-get install -y bash curl graphicsmagick libvips-dev build-essential
# All deps stage
FROM base AS deps