Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

Fix

Marc Klingenab3c00e7c366
diff --git a/Dockerfile b/Dockerfile
index e87e5d8baa..b4a01c9824 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -63,6 +63,8 @@ ENV NEXT_TELEMETRY_DISABLED 1
RUN addgroup --system --gid 1001 nodejs
RUN adduser --system --uid 1001 nextjs
+RUN npm install --no-package-lock --no-save cron
+
COPY --from=builder /app/public ./public
# Automatically leverage output traces to reduce image size
@@ -71,7 +73,6 @@ COPY --from=builder --chown=nextjs:nodejs /app/.next/standalone ./
COPY --from=builder --chown=nextjs:nodejs /app/.next/static ./.next/static
COPY --from=builder --chown=nextjs:nodejs /app/prisma ./prisma
-RUN npm install --no-package-lock --no-save cron
COPY --chown=nextjs:nodejs cron.js ./cron.js
COPY --chown=nextjs:nodejs entrypoint.sh ./entrypoint.sh