diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..da45fd4 --- /dev/null +++ b/docker-compose.yml @@ -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: