add devspace (#1173)

This commit is contained in:
acelinkio
2025-11-28 11:52:10 -08:00
committed by GitHub
parent e7d9002156
commit 2ef26e5d02
8 changed files with 159 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
version: v2beta1
name: api
dev:
api:
imageSelector: ghcr.io/zoriya/kyoo_api
devImage: docker.io/oven/bun:latest
workingDir: /app
sync:
- path: .:/app
excludePaths:
- node_modules
startContainer: true
onUpload:
exec:
- command: bun install --frozen-lockfile
onChange:
- "./bun.lock"
command:
- bash
- -c
- "bun install && bun dev"
ports:
- port: "3567"