Update Dockerfile

This commit is contained in:
Trance-0
2025-02-18 14:52:21 -06:00
parent fd43ff4762
commit 3564834496

View File

@@ -8,6 +8,9 @@ FROM base AS deps
# Check https://github.com/nodejs/docker-node/tree/b4117f9333da4138b03a546ec926ef50a31506c3#nodealpine to understand why libc6-compat might be needed.
RUN apk add --no-cache libc6-compat
# Set the maximum memory size to 8GB
ENV NODE_OPTIONS="--max-old-space-size=8192"
WORKDIR /app
# Install dependencies based on the preferred package manager