Increase memory for vite build

This commit is contained in:
2025-01-30 23:39:42 +07:00
parent 4a3cc68c60
commit 324d156ee4

View File

@@ -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=4096 ./node_modules/.bin/vite build
RUN node --max-old-space-size=8192 ./node_modules/.bin/vite build
# Stage 2: Create the runtime image