mirror of
https://github.com/revoltchat/revite.git
synced 2024-11-23 07:30:57 -05:00
fix(docker): this should be calling corepack each time
This commit is contained in:
parent
1ac15443ea
commit
7100047b22
1 changed files with 4 additions and 5 deletions
|
@ -4,12 +4,11 @@ WORKDIR /usr/src/app
|
||||||
COPY . .
|
COPY . .
|
||||||
COPY .env.build .env
|
COPY .env.build .env
|
||||||
|
|
||||||
RUN corepack pnpm install
|
RUN corepack pnpm install --frozen-lockfile
|
||||||
RUN pnpm install --frozen-lockfile
|
RUN corepack pnpm typecheck
|
||||||
RUN pnpm typecheck
|
RUN NODE_OPTIONS='--max-old-space-size=4096' corepack pnpm build:all
|
||||||
RUN NODE_OPTIONS='--max-old-space-size=4096' pnpm build:all
|
|
||||||
RUN find . -name "node_modules" -type d -prune
|
RUN find . -name "node_modules" -type d -prune
|
||||||
RUN pnpm install --prod
|
RUN corepack pnpm install --prod
|
||||||
|
|
||||||
FROM node:16-alpine
|
FROM node:16-alpine
|
||||||
WORKDIR /usr/src/app
|
WORKDIR /usr/src/app
|
||||||
|
|
Loading…
Reference in a new issue