Browse Source

Fixed Dockerfile not working in dev

Alex Tran 2 years ago
parent
commit
c3348bd068
2 changed files with 0 additions and 2 deletions
  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 . .
 COPY . .
 
 
 RUN npm run build
 RUN npm run build
-RUN npm prune --omit=dev
 
 
 # Prod stage
 # Prod stage
 FROM node:16-bullseye-slim
 FROM node:16-bullseye-slim

+ 0 - 1
server/Dockerfile

@@ -11,7 +11,6 @@ RUN npm ci
 COPY . .
 COPY . .
 
 
 RUN npm run build
 RUN npm run build
-RUN npm prune --omit=dev
 
 
 # Prod stage
 # Prod stage
 FROM node:16-alpine3.14
 FROM node:16-alpine3.14