Spaces:
Running
Running
Create docker-compose.yaml
Browse files- docker-compose.yaml +12 -0
docker-compose.yaml
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
version: '3'
|
2 |
+
|
3 |
+
services:
|
4 |
+
web:
|
5 |
+
build: .
|
6 |
+
command: sh -c "uvicorn main:app --reload --port=8000 --host=0.0.0.0"
|
7 |
+
env_file:
|
8 |
+
- .env
|
9 |
+
ports:
|
10 |
+
- "8000:8000"
|
11 |
+
volumes:
|
12 |
+
- .:/app
|