fix: sharp is not installed (#397)

Closes #320
This commit is contained in:
Meier Lukas
2024-04-29 21:46:58 +02:00
committed by GitHub
parent 036925bf78
commit 5f247977fa

View File

@@ -35,7 +35,7 @@ RUN corepack enable pnpm && pnpm install
COPY --from=builder /app/next-out/json/ . COPY --from=builder /app/next-out/json/ .
COPY --from=builder /app/next-out/pnpm-lock.yaml ./pnpm-lock.yaml COPY --from=builder /app/next-out/pnpm-lock.yaml ./pnpm-lock.yaml
RUN corepack enable pnpm && pnpm install RUN corepack enable pnpm && pnpm install sharp -w
# Build the project # Build the project
COPY --from=builder /app/tasks-out/full/ . COPY --from=builder /app/tasks-out/full/ .