This commit is contained in:
@ -2,13 +2,11 @@ version: "3.8"
|
||||
|
||||
services:
|
||||
app:
|
||||
build: .
|
||||
image: demo:latest
|
||||
container_name: python_app
|
||||
restart: always
|
||||
ports:
|
||||
- "8000:8000"
|
||||
environment:
|
||||
- PYTHONUNBUFFERED=1
|
||||
volumes:
|
||||
- .:/app
|
||||
command: python main.py
|
||||
|
||||
Reference in New Issue
Block a user