build:project build
This commit is contained in:
19
docker-compose.yml
Normal file
19
docker-compose.yml
Normal file
@@ -0,0 +1,19 @@
|
||||
services:
|
||||
|
||||
django_project:
|
||||
restart: "no"
|
||||
ports:
|
||||
- "8000:8000"
|
||||
build:
|
||||
context: .
|
||||
# command: sleep infinity # Infinite loop to keep container alive doing nothing
|
||||
command:
|
||||
- python
|
||||
- -m
|
||||
- uvicorn
|
||||
- website.asgi:application
|
||||
- --host=0.0.0.0
|
||||
- --port=8000
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user