Skip to content

Commit 9912943

Browse files
committed
docker-compose.yaml: Update API to use docker image
Instead of doing local build - use docker image from registry. Signed-off-by: Denys Fedoryshchenko <[email protected]>
1 parent 8e6a806 commit 9912943

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

docker-compose.yaml

+1-10
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,7 @@ services:
88

99
api:
1010
container_name: 'kernelci-api'
11-
build:
12-
context: 'docker/api'
13-
args:
14-
- REQUIREMENTS=${REQUIREMENTS:-requirements.txt}
15-
- core_rev=${CORE_REV:-main}
16-
volumes:
17-
- './api:/home/kernelci/api'
18-
- './tests:/home/kernelci/tests'
19-
- './migrations:/home/kernelci/migrations'
20-
- './templates:/home/kernelci/templates'
11+
image: kernelci/staging-api:${KERNELCI_API_VERSION:-latest}
2112
ports:
2213
- '${API_HOST_PORT:-8001}:8000'
2314
env_file:

0 commit comments

Comments
 (0)