FROM node:18-bookworm WORKDIR /app COPY package.json . RUN npm i COPY . . RUN npm run generate RUN npm run build ENTRYPOINT [ "./entrypoint.sh" ]