fix(docker): repair build
Some checks failed
Build and Push Docker Image / build (push) Failing after 1m46s

This commit is contained in:
2026-02-13 14:19:53 +01:00
parent 15f6264bff
commit 9f4bb334f7
4 changed files with 14 additions and 1 deletions

View File

@@ -1,4 +1,4 @@
FROM node:22-alpine AS base
FROM node:22-slim AS base
RUN corepack enable
FROM base AS deps
@@ -7,6 +7,7 @@ COPY package.json pnpm-lock.yaml pnpm-workspace.yaml ./
RUN pnpm install --frozen-lockfile
FROM base AS build
RUN apt-get update && apt-get install -y --no-install-recommends imagemagick && rm -rf /var/lib/apt/lists/* && ln -s /usr/bin/convert /usr/local/bin/magick
WORKDIR /app
COPY --from=deps /app/node_modules ./node_modules
COPY . .