From 419edda1c9e419fc62c29051f393b2714f6f02c1 Mon Sep 17 00:00:00 2001 From: Steffen Illium Date: Mon, 15 Sep 2025 08:53:59 +0200 Subject: [PATCH] alpine webp package corrected --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index b868326c..8fab6e71 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ FROM node:20-alpine AS builder # Install system dependencies for image manipulation (ImageMagick v7+) -RUN apk add --no-cache imagemagick webp ghostscript +RUN apk add --no-cache imagemagick libwebp libwebp-tools ghostscript # Enable pnpm RUN corepack enable @@ -45,7 +45,7 @@ COPY --from=builder --chown=nextjs:nodejs /app/.next/standalone ./ COPY --from=builder --chown=nextjs:nodejs /app/.next/static ./.next/static EXPOSE 3000 -ENV PORT 3000 +ENV PORT=3000 # The standalone output creates a server.js file that is the entrypoint CMD ["node", "server.js"] \ No newline at end of file