This commit is contained in:
qugalet 2023-07-13 12:05:23 +03:00
parent 2d7ec516f9
commit 6e51197616

View file

@ -2,14 +2,16 @@ FROM node:18-bookworm
WORKDIR /app
COPY package.json .
COPY package.json pnpm-lock.yaml ./
RUN npm i
RUN npm i -g pnpm
RUN pnpm install --frozen-lockfile --prod
COPY . .
RUN npm run generate
RUN pnpm generate
RUN npm run build
RUN pnpm build
ENTRYPOINT [ "./entrypoint.sh" ]