Skip to content

High performance self-hosted photo and video management solution.

Fixed Dockerfile not working in dev

Alex Tranc3348bd068f6
diff --git a/machine-learning/Dockerfile b/machine-learning/Dockerfile
index f10ccd0c13..3c290c8b3e 100644
--- a/machine-learning/Dockerfile
+++ b/machine-learning/Dockerfile
@@ -17,7 +17,6 @@ RUN npm rebuild @tensorflow/tfjs-node --build-from-source
COPY . .
RUN npm run build
-RUN npm prune --omit=dev
# Prod stage
FROM node:16-bullseye-slim
diff --git a/server/Dockerfile b/server/Dockerfile
index 5c33b794a6..97d345eba8 100644
--- a/server/Dockerfile
+++ b/server/Dockerfile
@@ -11,7 +11,6 @@ RUN npm ci
COPY . .
RUN npm run build
-RUN npm prune --omit=dev
# Prod stage
FROM node:16-alpine3.14