mirror of
https://github.com/Crosstalk-Solutions/project-nomad.git
synced 2026-12-04 03:58:13 +00:00
build: switch to node:22-slim image for libzim compat
This commit is contained in:
2 files changed
+6
-3
No files matched your search
+4
-1
@@ -2,4 +2,7 @@
|
||||
.env.*
|
||||
.git
|
||||
node_modules
|
||||
*.log
|
||||
*.log
|
||||
admin/storage
|
||||
admin/node_modules
|
||||
admin/build
|
||||
+2
-2
@@ -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
|
||||
|
||||
Reference in new issue
Block a user