diff --git a/chat-ui/Dockerfile b/chat-ui/Dockerfile index 0ec2060..849cca0 100644 --- a/chat-ui/Dockerfile +++ b/chat-ui/Dockerfile @@ -1,8 +1,8 @@ FROM node:18-alpine WORKDIR /app COPY package.json package-lock.json* ./ -RUN npm install --production -COPY . . RUN npm install && npm run build && npm prune --production +COPY . . +RUN npm run build EXPOSE 3000 CMD ["node","dist/server.js"]