Skip to content

Context7 Platform -- Up-to-date docs for AI agents

chore: update npm install flag in Dockerfile

enesgules9df7676b358b
diff --git a/Dockerfile b/Dockerfile
index e4f0049e..db434e45 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -23,7 +23,7 @@ COPY --from=builder /app/dist ./dist
COPY package.json ./
# Install only production dependencies
-RUN npm install --production --ignore-scripts
+RUN npm install --omit=dev --ignore-scripts
# Expose HTTP port
EXPOSE 8080