add Docker support: docker-compose with local path
This commit is contained in:
16
docker-compose.yml
Normal file
16
docker-compose.yml
Normal 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"]
|
||||
Reference in New Issue
Block a user