diff --git a/.dockerignore b/.dockerignore index 75ab70a..f00b388 100644 --- a/.dockerignore +++ b/.dockerignore @@ -2,3 +2,4 @@ node_modules docs data .gitea +build diff --git a/Dockerfile b/Dockerfile index 6b247cd..46ce09a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,10 @@ FROM oven/bun:alpine + +RUN apk add vips-dev + WORKDIR /app COPY . . RUN bun install --production --frozen-lockfile + CMD ["bun", "start"] EXPOSE 8787 diff --git a/bun.lockb b/bun.lockb index 11294b0..bd4cd38 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/package.json b/package.json index 72eafa7..292939c 100644 --- a/package.json +++ b/package.json @@ -11,6 +11,9 @@ "devDependencies": { "@types/bun": "latest" }, + "trustedDependencies": [ + "sharp" + ], "peerDependencies": { "typescript": "^5.0.0" }