Remove max size for node space

This commit is contained in:
2025-01-31 12:35:06 +07:00
parent 324d156ee4
commit 7881630636

View File

@@ -30,7 +30,7 @@ RUN npm install -g yarn
#RUN npm i --max-old-space-size=12000 --loglevel=verbose
RUN yarn add eslint-plugin-jsdoc@37.9.7 --dev --ignore-engines
#RUN yarn add eslint-plugin-jsdoc@37.9.7 --dev --ignore-engines
RUN yarn install --verbose
# Copy the application code
@@ -39,7 +39,7 @@ RUN ls -alh
RUN ls -alh src/
# Build the Vite application
#RUN npm run build
RUN node --max-old-space-size=8192 ./node_modules/.bin/vite build
#RUN node --max-old-space-size=8192 ./node_modules/.bin/vite build
# Stage 2: Create the runtime image