mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-09-27 19:22:06 +00:00
🐳 fix: Fail the Docker Build When the Frontend Build Fails (#16388)
This commit is contained in:
parent
7b2362d7a7
commit
18cfb5130d
1 changed files with 2 additions and 2 deletions
|
|
@ -58,8 +58,8 @@ COPY --chown=node:node . .
|
|||
|
||||
RUN \
|
||||
# React client build with configurable memory
|
||||
NODE_OPTIONS="--max-old-space-size=${NODE_MAX_OLD_SPACE_SIZE}" npm run frontend; \
|
||||
npm prune --production; \
|
||||
NODE_OPTIONS="--max-old-space-size=${NODE_MAX_OLD_SPACE_SIZE}" npm run frontend && \
|
||||
npm prune --production && \
|
||||
npm cache clean --force
|
||||
|
||||
# Optional build metadata surfaced in Settings -> About for support triage.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue