FROM node:latest WORKDIR /usr/src/app COPY package*.json ./ RUN npm install COPY . . RUN npm run build EXPOSE 7860 CMD [ "node", "dist/index.js" ]