diff deploy.yaml @ 3:e7f33fa31883

port to starlette/asyncio
author drewp@bigasterisk.com
date Sun, 24 Apr 2022 14:46:32 -0700
parents 0f532eb91364
children b5bfd0dd69d6
line wrap: on
line diff
--- a/deploy.yaml	Fri Apr 01 00:44:01 2022 -0700
+++ b/deploy.yaml	Sun Apr 24 14:46:32 2022 -0700
@@ -21,8 +21,11 @@
           command: 
           - pdm
           - run
-          - python
-          - environment.py
+          - uvicorn
+          - '--port=8000'
+          - '--host=0.0.0.0'
+          - 'environment:app'
+          - '--reload'
           ports:
           - containerPort: 8000
 ---