Fixed Dockerfile not working in dev
This commit is contained in:
parent
cc61729f01
commit
c3348bd068
2 changed files with 0 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -11,7 +11,6 @@ RUN npm ci
|
|||
COPY . .
|
||||
|
||||
RUN npm run build
|
||||
RUN npm prune --omit=dev
|
||||
|
||||
# Prod stage
|
||||
FROM node:16-alpine3.14
|
||||
|
|
Loading…
Reference in a new issue