FROM node:16 WORKDIR /app COPY package*.json ./ RUN npm ci COPY . . RUN npm run build WORKDIR /app/frontend RUN npm ci RUN npm run build WORKDIR /app CMD [ "/bin/sh", "-c", "npm run ream && npm run start" ]