Skip to content

Commit 80e78f4

Browse files
committed
Use bun:1-alpine
1 parent e83fa61 commit 80e78f4

File tree

2 files changed

+7
-13
lines changed

2 files changed

+7
-13
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
# syntax=docker/dockerfile:1
22
# check=error=true
33

4-
FROM oven/bun:alpine AS runtime-dependencies
4+
FROM oven/bun:1-alpine AS runtime-dependencies
55
WORKDIR /app
66
RUN --mount=type=bind,source=package.json,target=package.json \
77
--mount=type=bind,source=bun.lock,target=bun.lock \
88
--mount=type=cache,target=/root/.bun/install/cache \
99
NODE_ENV=production bun install
1010

11-
FROM oven/bun:alpine
11+
FROM oven/bun:1-alpine
1212
WORKDIR /app
1313
# ffmpeg needed for get-audio-duration
1414
RUN apk add --no-cache \

bun.lock

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"@js-temporal/polyfill": "^0.4.4",
99
"@napi-rs/canvas": "0.1.65",
1010
"@resvg/resvg-js": "^2.6.2",
11-
"@sentry/bun": "^8.50.0",
11+
"@sentry/bun": "^8.51.0",
1212
"@std/jsonc": "npm:@jsr/std__jsonc@^1.0.1",
1313
"chrono-node": "^2.7.7",
1414
"croner": "^9.0.0",
@@ -25,7 +25,7 @@
2525
},
2626
"devDependencies": {
2727
"@biomejs/biome": "^1.9.4",
28-
"@types/bun": "^1.1.18",
28+
"@types/bun": "^1.2.0",
2929
"@types/jsdom": "^21.1.7",
3030
"@types/node-cron": "^3.0.11",
3131
"lefthook": "^1.10.10",
@@ -251,7 +251,7 @@
251251

252252
"@types/mysql": ["@types/[email protected]", "", { "dependencies": { "@types/node": "*" } }, "sha512-DSLCOXhkvfS5WNNPbfn2KdICAmk8lLc+/PNvnPnF7gOdMZCxopXduqv0OQ13y/yA/zXTSikZZqVgybUxOEg6YQ=="],
253253

254-
"@types/node": ["@types/[email protected].7", "", { "dependencies": { "undici-types": "~6.20.0" } }, "sha512-V09KvXxFiutGp6B7XkpaDXlNadZxrzajcY50EuoLIpQ6WWYCSvf19lVIazzfIzQvhUN2HjX12spLojTnhuKlGg=="],
254+
"@types/node": ["@types/[email protected].9", "", { "dependencies": { "undici-types": "~6.20.0" } }, "sha512-Ir6hwgsKyNESl/gLOcEz3krR4CBGgliDqBQ2ma4wIhEx0w+xnoeTq3tdrNw15kU3SxogDjOgv9sqdtLW8mIHaw=="],
255255

256256
"@types/node-cron": ["@types/[email protected]", "", {}, "sha512-0ikrnug3/IyneSHqCBeslAhlK2aBfYek1fGo4bP4QnZPmiqSGRK+Oy7ZMisLWkesffJvQ1cqAcBnJC+8+nxIAg=="],
257257

@@ -515,9 +515,9 @@
515515

516516
"thread-stream": ["[email protected]", "", { "dependencies": { "real-require": "^0.2.0" } }, "sha512-OqyPZ9u96VohAyMfJykzmivOrY2wfMSf3C5TtFJVgN+Hm6aj+voFhlK+kZEIv2FBh1X6Xp3DlnCOfEQ3B2J86A=="],
517517

518-
"tldts": ["[email protected].73", "", { "dependencies": { "tldts-core": "^6.1.73" }, "bin": { "tldts": "bin/cli.js" } }, "sha512-/h4bVmuEMm57c2uCiAf1Q9mlQk7cA22m+1Bu0K92vUUtTVT9D4mOFWD9r4WQuTULcG9eeZtNKhLl0Il1LdKGog=="],
518+
"tldts": ["[email protected].74", "", { "dependencies": { "tldts-core": "^6.1.74" }, "bin": { "tldts": "bin/cli.js" } }, "sha512-O5vTZ1UmmEmrLl/59U9igitnSMlprALLaLgbv//dEvjobPT9vyURhHXKMCDLEhn3qxZFIkb9PwAfNYV0Ol7RPQ=="],
519519

520-
"tldts-core": ["[email protected].73", "", {}, "sha512-k1g5eX87vxu3g//6XMn62y4qjayu4cYby/PF7Ksnh4F4uUK1Z1ze/mJ4a+y5OjdJ+cXRp+YTInZhH+FGdUWy1w=="],
520+
"tldts-core": ["[email protected].74", "", {}, "sha512-gTwtY6L2GfuxiL4CWpLknv9JDYYqBvKCk/BT5uAaAvCA0s6pzX7lr2IrkQZSUlnSjRHIjTl8ZwKCVXJ7XNRWYw=="],
521521

522522
"tough-cookie": ["[email protected]", "", { "dependencies": { "tldts": "^6.1.32" } }, "sha512-rvZUv+7MoBYTiDmFPBrhL7Ujx9Sk+q9wwm22x8c8T5IJaR+Wsyc7TNxbVxo84kZoRJZZMazowFLqpankBEQrGg=="],
523523

@@ -567,12 +567,6 @@
567567

568568
"@prisma/instrumentation/@opentelemetry/instrumentation": ["@opentelemetry/[email protected]", "", { "dependencies": { "@opentelemetry/api-logs": "0.53.0", "@types/shimmer": "^1.2.0", "import-in-the-middle": "^1.8.1", "require-in-the-middle": "^7.1.1", "semver": "^7.5.2", "shimmer": "^1.2.1" }, "peerDependencies": { "@opentelemetry/api": "^1.3.0" } }, "sha512-DMwg0hy4wzf7K73JJtl95m/e0boSoWhH07rfvHvYzQtBD3Bmv0Wc1x733vyZBqmFm8OjJD0/pfiUg1W3JjFX0A=="],
569569

570-
"kysely-bun-sqlite/bun-types": ["[email protected]", "", { "dependencies": { "@types/node": "~20.12.8", "@types/ws": "~8.5.10" } }, "sha512-jtcekoZeSINgEcHSISzhR13w/cyE+Fankw2Cpl4c0fN3lRmKVAX0i9ay4FyK4lOxUK1HG4HkuIlrPvXKz4Y7sw=="],
571-
572570
"@prisma/instrumentation/@opentelemetry/instrumentation/@opentelemetry/api-logs": ["@opentelemetry/[email protected]", "", { "dependencies": { "@opentelemetry/api": "^1.0.0" } }, "sha512-8HArjKx+RaAI8uEIgcORbZIPklyh1YLjPSBus8hjRmvLi6DeFzgOcdZ7KwPabKj8mXF8dX0hyfAyGfycz0DbFw=="],
573-
574-
"kysely-bun-sqlite/bun-types/@types/node": ["@types/[email protected]", "", { "dependencies": { "undici-types": "~5.26.4" } }, "sha512-scnD59RpYD91xngrQQLGkE+6UrHUPzeKZWhhjBSa3HSkwjbQc38+q3RoIVEwxQGRw3M+j5hpNAM+lgV3cVormg=="],
575-
576-
"kysely-bun-sqlite/bun-types/@types/node/undici-types": ["[email protected]", "", {}, "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA=="],
577571
}
578572
}

0 commit comments

Comments
 (0)