# Use the official Node.js 14 image as a base image FROM node:20 # Create and change to the app directory WORKDIR /usr/src/app ENV NODE_ENV=demo # Copy the package.json and package-lock.json files COPY package*.json ./ # Install dependencies RUN npm install # Copy the rest of the application code COPY . . EXPOSE 8880 EXPOSE 8881 # Start the application CMD ["npm", "run", "start:demo-chat"]