Skip to content

Commit

Permalink
docker-compose.yaml: Update API to use docker image
Browse files Browse the repository at this point in the history
Instead of doing local build - use docker image from registry.

Signed-off-by: Denys Fedoryshchenko <[email protected]>
  • Loading branch information
nuclearcat committed Feb 7, 2024
1 parent 8e6a806 commit 9912943
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,7 @@ services:

api:
container_name: 'kernelci-api'
build:
context: 'docker/api'
args:
- REQUIREMENTS=${REQUIREMENTS:-requirements.txt}
- core_rev=${CORE_REV:-main}
volumes:
- './api:/home/kernelci/api'
- './tests:/home/kernelci/tests'
- './migrations:/home/kernelci/migrations'
- './templates:/home/kernelci/templates'
image: kernelci/staging-api:${KERNELCI_API_VERSION:-latest}
ports:
- '${API_HOST_PORT:-8001}:8000'
env_file:
Expand Down

0 comments on commit 9912943

Please sign in to comment.