+2
-4
@@ -10,16 +10,14 @@ name: default
|
||||
|
||||
steps:
|
||||
- name: deploy
|
||||
image: node:22
|
||||
image: node:22-alpine
|
||||
volumes:
|
||||
- name: host-website-dist
|
||||
path: /mnt/website
|
||||
commands:
|
||||
- uname -a
|
||||
- ldd --version
|
||||
- node -v
|
||||
- apt update && apt install -y libvips-dev
|
||||
- export SHARP_FORCE_GLOBAL_LIBVIPS=1
|
||||
- apk add --no-cache vips-dev build-base python3
|
||||
- npm install --save node-addon-api node-gyp
|
||||
- npm install
|
||||
- node -e 'import Sharp from "sharp"; console.log(Sharp)'
|
||||
|
||||
Generated
+1003
-13
File diff suppressed because it is too large
Load Diff
+2
-5
@@ -29,6 +29,8 @@
|
||||
"katex": "^0.16.22",
|
||||
"lucide-static": "^0.468.0",
|
||||
"marked": "^15.0.12",
|
||||
"node-addon-api": "^8.5.0",
|
||||
"node-gyp": "^11.4.2",
|
||||
"preact": "^10.27.2",
|
||||
"sharp": "^0.34.3",
|
||||
"typescript": "^5.9.2"
|
||||
@@ -48,10 +50,5 @@
|
||||
"remark-toc": "^9.0.0",
|
||||
"sass": "^1.92.1",
|
||||
"tsx": "^4.20.5"
|
||||
},
|
||||
"config": {
|
||||
"libvips": {
|
||||
"version": "8.14.1"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user