feat: Optimize Docker build process by adding script to remove unnecessary files (#24450)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
a4d17cb585
commit
bcf42362e3
5 changed files with 193 additions and 2 deletions
|
|
@ -34,7 +34,7 @@ COPY --from=packages /app/web/ .
|
|||
COPY . .
|
||||
|
||||
ENV NODE_OPTIONS="--max-old-space-size=4096"
|
||||
RUN pnpm build
|
||||
RUN pnpm build:docker
|
||||
|
||||
|
||||
# production stage
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue