diff --git a/Dockerfile b/Dockerfile index 2bfd683..7d4a1b9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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"] diff --git a/docker-compose.yml b/docker-compose.yml index f49f861..e939a57 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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} diff --git a/package.json b/package.json index d91db80..d79e244 100644 --- a/package.json +++ b/package.json @@ -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\"",