Ver Fonte

Fixed Dockerfile not working in dev

Alex Tran há 2 anos atrás
pai
commit
c3348bd068
2 ficheiros alterados com 0 adições e 2 exclusões
  1. 0 1
      machine-learning/Dockerfile
  2. 0 1
      server/Dockerfile

+ 0 - 1
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

+ 0 - 1
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