mirror of
https://github.com/versia-pub/server.git
synced 2025-12-06 08:28:19 +01:00
refactor: ♻️ Clean up Dockerfile to not require Node to build
This commit is contained in:
parent
ade9bd08fa
commit
f904ad33ba
|
|
@ -1,6 +1,6 @@
|
|||
# Use 1.1.4 for building to prevent a Unicode bug with 1.1.5+
|
||||
# Temporary until they fix it
|
||||
FROM imbios/bun-node:1.1.4-current-alpine as base
|
||||
FROM oven/bun:1.1.4-alpine as base
|
||||
|
||||
RUN apk add --no-cache libstdc++
|
||||
|
||||
|
|
|
|||
2
build.ts
2
build.ts
|
|
@ -18,7 +18,7 @@ await Bun.build({
|
|||
target: "bun",
|
||||
splitting: true,
|
||||
minify: false,
|
||||
external: ["bullmq", "unzipit"],
|
||||
external: ["unzipit"],
|
||||
}).then((output) => {
|
||||
if (!output.success) {
|
||||
console.log(output.logs);
|
||||
|
|
|
|||
|
|
@ -104,7 +104,6 @@
|
|||
"@oclif/core": "^3.26.6",
|
||||
"@tufjs/canonical-json": "^2.0.0",
|
||||
"blurhash": "^2.0.5",
|
||||
"bullmq": "^5.7.1",
|
||||
"chalk": "^5.3.0",
|
||||
"cli-progress": "^3.12.0",
|
||||
"cli-table": "^0.3.11",
|
||||
|
|
|
|||
Loading…
Reference in a new issue