FROM node:latest WORKDIR /app COPY package.json . RUN yarn install COPY . . RUN yarn build CMD ["node", "dist/lib/server/index.js"]