feat: Update Dockerfile and package.json to optimize Rollup build process and add optional Rollup dependency
Publish Fast Tabler Docker image / build-and-push-fast (push) Failing after 2m58s

This commit is contained in:
2025-08-08 08:26:55 +07:00
parent b0094e4658
commit c139a0c9c9
2 changed files with 8 additions and 0 deletions
+2
View File
@@ -26,6 +26,8 @@ COPY frontend/vite.config.js ./
COPY frontend/eslint.config.js ./
# Build the application with optimized settings
ENV ROLLUP_SKIP_NODEJS_NATIVE=1
ENV ROLLUP_NO_NATIVE=1
RUN npm run build
# Stage 2: Setup Node.js backend and serve everything
+6
View File
@@ -31,5 +31,11 @@
"eslint-plugin-react-refresh": "^0.4.20",
"globals": "^16.2.0",
"vite": "^7.0.0"
},
"optionalDependencies": {
"@rollup/rollup-linux-x64-musl": "4.40.0"
},
"overrides": {
"rollup": "4.40.0"
}
}