Moved to bun runtime for prod
This commit is contained in:
@@ -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"]
|
||||
|
||||
@@ -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}
|
||||
|
||||
@@ -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\"",
|
||||
|
||||
Reference in New Issue
Block a user