Skip to content

Commit

Permalink
fix the build contexts
Browse files Browse the repository at this point in the history
  • Loading branch information
rambo committed Oct 14, 2023
1 parent cd58670 commit a5060ae
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 15 deletions.
12 changes: 5 additions & 7 deletions docker-compose-rm-tak.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,11 @@ x-cfssl_env: &cfssl_env

services:
tak_rmapi:
image: "pvarki/python-tak-rmapi:latest"
# build:
# context: ./python-tak-rmapi
# dockerfile: Dockerfile
# target: production
env_file:
- 'takserver.env'
image: "pvarki/takrmintapi:latest"
build:
context: ./rmapi
dockerfile: Dockerfile
target: production
depends_on:
takdb:
condition: service_started
Expand Down
12 changes: 5 additions & 7 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,11 @@ version: '3.4'

services:
tak_rmapi:
image: "pvarki/python-tak-rmapi:latest"
# build:
# context: ./python-tak-rmapi
# dockerfile: Dockerfile
# target: production
env_file:
- 'takserver.env'
image: "pvarki/takrmintapi:latest"
build:
context: ./rmapi
dockerfile: Dockerfile
target: production
depends_on:
- "takdb"
networks:
Expand Down
2 changes: 1 addition & 1 deletion rmapi

0 comments on commit a5060ae

Please sign in to comment.