reviewbot

Source code for the is-a.dev r...
Log | Files | Refs | Activity | README | LICENSE

commit cc61df3823a48c2e0fa46e38fab4347a42e03697
parent 078f7f4ae9fc8212e944206346028732ddb2c1e3
Author: iostpa <iostpa@iostpa.com>
Date:   Wed, 29 Jul 2026 12:24:53 +0300

hopefully this works

Diffstat:
MDockerfile | 21++++++++++++++++-----
1 file changed, 16 insertions(+), 5 deletions(-)

diff --git a/Dockerfile b/Dockerfile @@ -1,7 +1,18 @@ -FROM ghcr.io/pnpm/pnpm:11 -RUN pnpm runtime set node 22 -g +FROM node:24-slim AS base + +ENV PNPM_HOME="/pnpm" +ENV PATH="$PNPM_HOME/bin:$PATH" +RUN corepack enable + +FROM base AS prod + +COPY pnpm-lock.yaml /app WORKDIR /app -COPY . . -RUN pnpm approve-builds --all -RUN pnpm install --frozen-lockfile +RUN pnpm fetch --prod + +COPY . /app + +FROM base +COPY --from=prod /app/node_modules /app/node_modules +COPY --from=prod /app/dist /app/dist CMD ["pnpm", "run", "server"] \ No newline at end of file
© notamitgamer • Site Built: 2026-09-05 01:53:16 UTC • git-mirror commit: c170d72 [view raw info]
Originally created with stagit • modified by notamitgamer
Forked from github.com/notamitgamer/git-mirror