Add a docker compose
This commit is contained in:
1 parent
c702d99d26
commit
8629268111
1 file changed
+11
@@ -0,0 +1,11 @@
|
|||||||
|
|
||||||
|
version: '3.8'
|
||||||
|
|
||||||
|
services:
|
||||||
|
web:
|
||||||
|
build: .
|
||||||
|
ports:
|
||||||
|
- "8000:8000"
|
||||||
|
environment:
|
||||||
|
- ENV=production
|
||||||
|
command: ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000"]
|
||||||
Reference in new issue
Block a user