fix(docker-compose): When we have only one service in Docker Compose set its Dockerfile context dir to just build-context/ instead of build-context/service since the latter doesn't exist

This commit is contained in:
2023-12-24 02:56:03 +01:00
parent 215db1682d
commit adb7bf6795
2 changed files with 2 additions and 2 deletions

View File

@@ -4,7 +4,7 @@ services:
image: "registry.example.com/project/vault:${VAULT_BUILD_DATE}-${VAULT_VERSION}"
profiles: ["build"]
build:
context: "build-context/vault"
context: "build-context"
dockerfile: Dockerfile
args:
EXAMPLE_ARG_FOR_DOCKERFILE: "${EXAMPLE_ARG_FROM_ENV_FILE}"