diff --git a/Dockerfile b/Dockerfile index 4ffea93..b42b536 100644 --- a/Dockerfile +++ b/Dockerfile @@ -33,8 +33,8 @@ RUN npm install RUN if [ -z "$GIT_REPO_URL" ]; then echo "Copying local files..."; fi COPY . . -# Set Node options for build to prevent memory issues -ENV NODE_OPTIONS="--max-old-space-size=4096" +# Set Node options for build to prevent memory issues (adjusted for 3.8GB VPS RAM) +ENV NODE_OPTIONS="--max-old-space-size=2048" ENV NEXT_TELEMETRY_DISABLED=1 # Build the application for production