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
Publish Fast Tabler Docker image / build-and-push-fast (push) Failing after 2m58s
This commit is contained in:
@@ -26,6 +26,8 @@ COPY frontend/vite.config.js ./
|
|||||||
COPY frontend/eslint.config.js ./
|
COPY frontend/eslint.config.js ./
|
||||||
|
|
||||||
# Build the application with optimized settings
|
# Build the application with optimized settings
|
||||||
|
ENV ROLLUP_SKIP_NODEJS_NATIVE=1
|
||||||
|
ENV ROLLUP_NO_NATIVE=1
|
||||||
RUN npm run build
|
RUN npm run build
|
||||||
|
|
||||||
# Stage 2: Setup Node.js backend and serve everything
|
# Stage 2: Setup Node.js backend and serve everything
|
||||||
|
|||||||
@@ -31,5 +31,11 @@
|
|||||||
"eslint-plugin-react-refresh": "^0.4.20",
|
"eslint-plugin-react-refresh": "^0.4.20",
|
||||||
"globals": "^16.2.0",
|
"globals": "^16.2.0",
|
||||||
"vite": "^7.0.0"
|
"vite": "^7.0.0"
|
||||||
|
},
|
||||||
|
"optionalDependencies": {
|
||||||
|
"@rollup/rollup-linux-x64-musl": "4.40.0"
|
||||||
|
},
|
||||||
|
"overrides": {
|
||||||
|
"rollup": "4.40.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user