Merge branch 'main' of ssh://git.fai.st:2600/fedi-image-bot/bot-api
This commit is contained in:
commit
a83dbd36db
|
@ -17,7 +17,7 @@ services:
|
||||||
bot-api:
|
bot-api:
|
||||||
image: oven/bun:1
|
image: oven/bun:1
|
||||||
container_name: bot-api
|
container_name: bot-api
|
||||||
command: bun run dev
|
command: bun run docker-dev
|
||||||
working_dir: /usr/src/app
|
working_dir: /usr/src/app
|
||||||
ports:
|
ports:
|
||||||
- "8080:8080"
|
- "8080:8080"
|
||||||
|
|
|
@ -15,8 +15,9 @@
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "bun run src/index.ts",
|
"start": "bun run src/index.ts",
|
||||||
"dev": "bun --hot run src/index.ts",
|
"docker-dev": "bun --hot run src/index.ts",
|
||||||
"test": "bun test"
|
"dev": "docker compose down -v && docker compose up",
|
||||||
|
"test": "docker compose down -v && docker compose run bot-api bun test"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@types/express": "^4.17.21",
|
"@types/express": "^4.17.21",
|
||||||
|
|
Loading…
Reference in New Issue