Добавлен Docker

This commit is contained in:
2021-08-15 13:03:36 +03:00
parent 9fb2a673d2
commit 44a5c8e635
11 changed files with 100 additions and 8 deletions

17
docker-compose.debug.yml Normal file
View File

@@ -0,0 +1,17 @@
version: '3.4'
services:
dyxless:
image: dyxless
build:
context: .
dockerfile: ./Dockerfile
command: ["sh", "-c", "pip install debugpy -t /tmp && python /tmp/debugpy --wait-for-client --listen 0.0.0.0:5678 -m flask run --no-debugger --no-reload --host 0.0.0.0 --port 5000"]
ports:
- 5000:5000
- 5678:5678
working_dir: /dyxless
volumes:
- ./:/dyxless
environment:
- FLASK_APP=dyxless