diff --git a/chat-ui/Dockerfile b/chat-ui/Dockerfile index 2553384..0ec2060 100644 --- a/chat-ui/Dockerfile +++ b/chat-ui/Dockerfile @@ -3,6 +3,6 @@ WORKDIR /app COPY package.json package-lock.json* ./ RUN npm install --production COPY . . -RUN npm run build +RUN npm install && npm run build && npm prune --production EXPOSE 3000 CMD ["node","dist/server.js"]