Moved to bun runtime for prod

This commit is contained in:
2025-08-11 20:07:48 +02:00
parent a9976c60dc
commit d74357a67f
3 changed files with 2 additions and 3 deletions

View File

@@ -15,4 +15,4 @@ FROM oven/bun:alpine
WORKDIR /app
COPY --from=build /app/dist /app
CMD ["bun", "run", "index.js"]
CMD ["bun", "run", "--bun", "index.js"]

View File

@@ -9,7 +9,6 @@ services:
- DEV=${DEV}
- HYPIXELAPIKEY=${HYPIXELAPIKEY}
- REDISURI=${REDISURI}
- POSTGRESURI=${POSTGRESURI}
- PG_USER=${PG_USER}
- PG_PASSWORD=${PG_PASSWORD}
- PG_HOST=${PG_HOST}

View File

@@ -12,7 +12,7 @@
},
"homepage": "https://gitlab.com/illegitimate/illegitimate-bot",
"scripts": {
"start": "bun run --bun src/index.ts",
"start": "bun run --bun dist/index.js",
"bundle": "bun run scripts/build.ts",
"dev": "bun run --bun --watch src/index.ts",
"fmt": "dprint fmt \"**/*.ts\"",