File size: 394 Bytes
313814b
 
 
 
 
 
 
 
 
 
8ad3023
313814b
8ad3023
313814b
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
version: "3"
tasks:
  speaches: poetry run uvicorn speaches.main:app {{.CLI_ARGS}}
  test:
    cmds:
      - poetry run pytest -o log_cli=true -o log_cli_level=DEBUG {{.CLI_ARGS}}
    sources:
      - "**/*.py"
  build-and-push:
    cmds:
      - docker compose build --push
    sources:
      - Dockerfile.*
      - speaches/*.py
  sync: lsyncd -nodaemon -delay 0 -rsyncssh . gpu-box speaches