Merge branch 'main' of ssh://git.fai.st:2600/fedi-image-bot/bot-api

This commit is contained in:
Sugui 2023-12-25 12:57:17 +01:00
commit a83dbd36db
2 changed files with 4 additions and 3 deletions

View File

@ -17,7 +17,7 @@ services:
bot-api:
image: oven/bun:1
container_name: bot-api
command: bun run dev
command: bun run docker-dev
working_dir: /usr/src/app
ports:
- "8080:8080"

View File

@ -15,8 +15,9 @@
},
"scripts": {
"start": "bun run src/index.ts",
"dev": "bun --hot run src/index.ts",
"test": "bun test"
"docker-dev": "bun --hot run src/index.ts",
"dev": "docker compose down -v && docker compose up",
"test": "docker compose down -v && docker compose run bot-api bun test"
},
"dependencies": {
"@types/express": "^4.17.21",