Sfoglia il codice sorgente

Fixed Dockerfile not working in dev

Alex Tran 2 anni fa
parent
commit
c3348bd068
2 ha cambiato i file con 0 aggiunte e 2 eliminazioni
  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