mirror of
https://github.com/Afilmory/afilmory
synced 2026-04-24 23:05:05 +00:00
chore(docker): update Dockerfile to include runtime dependencies for image processing
- Added perl, perl-image-exiftool, vips, and libheif to the Dockerfile for enhanced image processing capabilities. - These dependencies support exiftool functionality and enable HEIF/HEIC support in libvips. Signed-off-by: Innei <tukon479@gmail.com>
This commit is contained in:
@@ -29,7 +29,12 @@ FROM node:lts-alpine AS runner
|
||||
ENV NODE_ENV=production
|
||||
WORKDIR /app
|
||||
|
||||
RUN apk add --no-cache perl
|
||||
# Runtime deps for image processing:
|
||||
# - perl: required by exiftool-vendored on Linux
|
||||
# - perl-image-exiftool: provides the exiftool binary (optional but useful)
|
||||
# - vips: runtime library for sharp
|
||||
# - libheif: enable HEIF/HEIC support in libvips when available
|
||||
RUN apk add --no-cache perl perl-image-exiftool vips libheif
|
||||
COPY --from=builder /workspace/be/apps/core/dist ./dist
|
||||
COPY --from=builder /workspace/be/packages/db/migrations ./migrations
|
||||
COPY --from=builder /workspace/be/apps/core/docker-entrypoint.sh ./docker-entrypoint.sh
|
||||
|
||||
Reference in New Issue
Block a user