Merge branch 'dev' into 'main'
Moved to bun runtime for prod See merge request illegitimate/illegitimate-bot!359
This commit is contained in:
@@ -15,4 +15,4 @@ FROM oven/bun:alpine
|
|||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY --from=build /app/dist /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}
|
- DEV=${DEV}
|
||||||
- HYPIXELAPIKEY=${HYPIXELAPIKEY}
|
- HYPIXELAPIKEY=${HYPIXELAPIKEY}
|
||||||
- REDISURI=${REDISURI}
|
- REDISURI=${REDISURI}
|
||||||
- POSTGRESURI=${POSTGRESURI}
|
|
||||||
- PG_USER=${PG_USER}
|
- PG_USER=${PG_USER}
|
||||||
- PG_PASSWORD=${PG_PASSWORD}
|
- PG_PASSWORD=${PG_PASSWORD}
|
||||||
- PG_HOST=${PG_HOST}
|
- PG_HOST=${PG_HOST}
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
},
|
},
|
||||||
"homepage": "https://gitlab.com/illegitimate/illegitimate-bot",
|
"homepage": "https://gitlab.com/illegitimate/illegitimate-bot",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "bun run --bun src/index.ts",
|
"start": "bun run --bun dist/index.js",
|
||||||
"bundle": "bun run scripts/build.ts",
|
"bundle": "bun run scripts/build.ts",
|
||||||
"dev": "bun run --bun --watch src/index.ts",
|
"dev": "bun run --bun --watch src/index.ts",
|
||||||
"fmt": "dprint fmt \"**/*.ts\"",
|
"fmt": "dprint fmt \"**/*.ts\"",
|
||||||
|
|||||||
Reference in New Issue
Block a user