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/pnpm-lock.yaml ./pnpm-lock.yaml
RUN corepack enable pnpm && pnpm install
RUN corepack enable pnpm && pnpm install sharp -w
# Build the project
COPY --from=builder /app/tasks-out/full/ .
@@ -74,4 +74,4 @@ COPY --chown=nextjs:nodejs scripts/run.sh ./run.sh
ENV DB_URL='/app/db/db.sqlite'
CMD ["sh", "run.sh"]
CMD ["sh", "run.sh"]