Install sharp in runtime image
This commit is contained in:
@@ -60,6 +60,7 @@ FROM node:20-slim AS runner
|
||||
WORKDIR /calcom
|
||||
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends netcat-openbsd openssl wget && rm -rf /var/lib/apt/lists/*
|
||||
RUN npm install --omit=dev --os=linux --cpu=x64 sharp@0.34.5
|
||||
|
||||
COPY --from=builder /calcom/apps/web/.next/standalone ./
|
||||
COPY --from=builder /calcom/apps/web/.next/static ./apps/web/.next/static
|
||||
|
||||
Reference in New Issue
Block a user