add Docker support: docker-compose with local path

This commit is contained in:
Danila Gamkov
2025-10-29 12:15:21 +03:00
parent cf445dc99c
commit 14c306818c
5 changed files with 74 additions and 2 deletions

16
docker-compose.yml Normal file
View File

@@ -0,0 +1,16 @@
version: "3.9"
services:
asotr:
build:
context: /home/danila/Danila/work/MVN/Soft/PID/python/
container_name: asotr_container
image: asotr:latest
working_dir: /app/bin
volumes:
- /home/danila/Danila/work/MVN/Soft/PID/python/data/asotr:/app/data/asotr
- /home/danila/Danila/work/MVN/Soft/PID/python/plots:/app/plots
- /home/danila/Danila/work/MVN/flight/data:/mnt/raw_mvn_data
environment:
- PYTHONUNBUFFERED=1
command: ["sleep", "infinity"]