mirror of
https://github.com/revoltchat/revite.git
synced 2025-01-09 05:54:44 -05:00
fix(docker): build deps before typecheck
This commit is contained in:
parent
7100047b22
commit
d9694ecd24
1 changed files with 2 additions and 1 deletions
|
@ -5,8 +5,9 @@ COPY . .
|
||||||
COPY .env.build .env
|
COPY .env.build .env
|
||||||
|
|
||||||
RUN corepack pnpm install --frozen-lockfile
|
RUN corepack pnpm install --frozen-lockfile
|
||||||
|
RUN corepack pnpm build:deps
|
||||||
RUN corepack pnpm typecheck
|
RUN corepack pnpm typecheck
|
||||||
RUN NODE_OPTIONS='--max-old-space-size=4096' corepack pnpm build:all
|
RUN NODE_OPTIONS='--max-old-space-size=4096' corepack pnpm build
|
||||||
RUN find . -name "node_modules" -type d -prune
|
RUN find . -name "node_modules" -type d -prune
|
||||||
RUN corepack pnpm install --prod
|
RUN corepack pnpm install --prod
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue