mirror of
https://github.com/Llloooggg/Dyxless.git
synced 2026-03-06 02:36:24 +03:00
18 lines
451 B
YAML
18 lines
451 B
YAML
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
|