forked from plinder-org/plinder
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
29 lines (26 loc) · 845 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
29 lines (26 loc) · 845 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
services:
base:
image: ${IMAGE_REPO:-ghcr.io/plinder-org}/plinder-base:${BASE_TAG:-latest}
build:
context: ./dockerfiles/base
plinder:
image: ${IMAGE_REPO:-ghcr.io/plinder-org}/plinder:${BUILD_TAG:-latest}
build:
context: .
dockerfile: ./dockerfiles/main/Dockerfile
args:
BASE_IMAGE: ${IMAGE_REPO:-ghcr.io/plinder-org}/plinder-base
BASE_TAG: ${BASE_TAG:-latest}
depends_on:
- base
test:
image: ${IMAGE_REPO:-ghcr.io/plinder-org}/plinder:${BUILD_TAG:-latest}
depends_on:
- plinder
volumes:
- ./tests/:/app/tests/
- ./pytest.ini:/app/pytest.ini
- ./.coveragerc:/app/.coveragerc
- ./reports/:/app/reports/
- ./examples/:/app/examples/
command: /bin/bash -c "python -m pytest -v -n auto && cp .coverage reports/.coverage"