-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
38 lines (36 loc) · 946 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
38 lines (36 loc) · 946 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
version: '3.8'
services:
dml-scale:
build:
context: .
dockerfile: Dockerfile
image: deep-learning-model-scaling-analysis:latest
container_name: deep-learning-model-scaling-analysis
volumes:
- ./data:/app/data
- ./outputs:/app/outputs
environment:
- DML_DATA_DIR=/app/data
- DML_OUTPUT_DIR=/app/outputs
- DML_LOG_LEVEL=INFO
command: ["--help"]
# Development service with mounted source code
dml-scale-dev:
build:
context: .
dockerfile: Dockerfile
target: builder
image: deep-learning-model-scaling-analysis:dev
container_name: deep-learning-model-scaling-analysis-dev
volumes:
- .:/app
- ./data:/app/data
- ./outputs:/app/outputs
environment:
- DML_DATA_DIR=/app/data
- DML_OUTPUT_DIR=/app/outputs
- DML_LOG_LEVEL=DEBUG
working_dir: /app
command: ["bash"]
stdin_open: true
tty: true