fix: reduce the memory consumption during build to prevent OOM (#3148)

Co-authored-by: Nicklas Wallgren <nicklas.wallgren@folksam.se>
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
This commit is contained in:
NicklasWallgren
2023-07-17 20:38:06 +02:00
committed by GitHub
parent 51efb35aa6
commit 39842559b5
5 changed files with 9 additions and 4 deletions

View File

@@ -6,7 +6,7 @@ WORKDIR /usr/src/app
RUN npm i -g pnpm
COPY . .
RUN pnpm install
RUN pnpm install --force --frozen-lockfile
WORKDIR /usr/src/app/packages/hoppscotch-selfhost-web/
RUN pnpm run build