mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-03-21 23:26:34 +01:00
🐳 chore: Upgrade Alpine packages in Dockerfiles (#12316)
- Added `apk upgrade --no-cache` to both Dockerfile and Dockerfile.multi to ensure all installed packages are up to date. - Maintained the installation of `jemalloc` and other dependencies without changes.
This commit is contained in:
parent
3abad53c16
commit
ec0238d7ca
2 changed files with 2 additions and 2 deletions
|
|
@ -3,7 +3,7 @@
|
|||
# Base node image
|
||||
FROM node:20-alpine AS node
|
||||
|
||||
# Install jemalloc
|
||||
RUN apk upgrade --no-cache
|
||||
RUN apk add --no-cache jemalloc
|
||||
RUN apk add --no-cache python3 py3-pip uv
|
||||
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ ARG NODE_MAX_OLD_SPACE_SIZE=6144
|
|||
|
||||
# Base for all builds
|
||||
FROM node:20-alpine AS base-min
|
||||
# Install jemalloc
|
||||
RUN apk upgrade --no-cache
|
||||
RUN apk add --no-cache jemalloc
|
||||
# Set environment variable to use jemalloc
|
||||
ENV LD_PRELOAD=/usr/lib/libjemalloc.so.2
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue