27 lines
494 B
YAML
27 lines
494 B
YAML
|
version: '3'
|
||
|
services:
|
||
|
lab2program1:
|
||
|
build:
|
||
|
context: /Part1
|
||
|
dockerfile: Dockerfile
|
||
|
volumes:
|
||
|
- .\var\result:/app/result
|
||
|
- .\var\data:/app/data
|
||
|
working_dir: /app
|
||
|
environment:
|
||
|
- APP_DIR=/app
|
||
|
|
||
|
lab2program2:
|
||
|
depends_on:
|
||
|
- lab2program1
|
||
|
build:
|
||
|
context: /Part2
|
||
|
dockerfile: Dockerfile
|
||
|
volumes:
|
||
|
- .\var\result:/app/result
|
||
|
- .\var\data:/app/data
|
||
|
working_dir: /app
|
||
|
environment:
|
||
|
- APP_DIR=/app
|
||
|
|