Ajout d'un docker-compose.yml
This commit is contained in:
parent
0bbeb129a6
commit
23941e200d
1 changed files with 17 additions and 0 deletions
17
docker-compose.yml
Normal file
17
docker-compose.yml
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
services:
|
||||
app:
|
||||
image: oven/bun:latest
|
||||
working_dir: /app
|
||||
command: bun install && bun run index.ts
|
||||
ports:
|
||||
- "${PORT:-3000}:${PORT:-3000}"
|
||||
environment:
|
||||
- PORT=${PORT:-3000}
|
||||
env_file:
|
||||
- .env
|
||||
volumes:
|
||||
- ./:/app
|
||||
- bun_node_modules:/app/node_modules
|
||||
|
||||
volumes:
|
||||
bun_node_modules:
|
||||
Loading…
Add table
Reference in a new issue