Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

clearing npm cache to save space

xphyr44d2a6c55315
diff --git a/backend/Dockerfile b/backend/Dockerfile
index 63cb59fbd9..06448ad918 100644
--- a/backend/Dockerfile
+++ b/backend/Dockerfile
@@ -17,7 +17,7 @@ WORKDIR /app
ENV npm_config_cache /home/node/.npm
COPY package*.json ./
-RUN npm ci --only-production
+RUN npm ci --only-production && npm cache clean --force
COPY --from=build /app .