ci: sharp compatibility with bun
All checks were successful
Docker CI / release (push) Successful in 47s
All checks were successful
Docker CI / release (push) Successful in 47s
This commit is contained in:
parent
574168ad92
commit
8a0bd93384
|
|
@ -2,3 +2,4 @@ node_modules
|
||||||
docs
|
docs
|
||||||
data
|
data
|
||||||
.gitea
|
.gitea
|
||||||
|
build
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,10 @@
|
||||||
FROM oven/bun:alpine
|
FROM oven/bun:alpine
|
||||||
|
|
||||||
|
RUN apk add vips-dev
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN bun install --production --frozen-lockfile
|
RUN bun install --production --frozen-lockfile
|
||||||
|
|
||||||
CMD ["bun", "start"]
|
CMD ["bun", "start"]
|
||||||
EXPOSE 8787
|
EXPOSE 8787
|
||||||
|
|
|
||||||
|
|
@ -11,6 +11,9 @@
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/bun": "latest"
|
"@types/bun": "latest"
|
||||||
},
|
},
|
||||||
|
"trustedDependencies": [
|
||||||
|
"sharp"
|
||||||
|
],
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"typescript": "^5.0.0"
|
"typescript": "^5.0.0"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue