alpine webp package corrected
Some checks failed
Next.js App CI / docker (push) Failing after 1m3s

This commit is contained in:
2025-09-15 08:53:59 +02:00
parent fbb1c570c4
commit 419edda1c9

View File

@@ -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"]