fix(compose): build context relative to repo root, not compose dir
This commit is contained in:
parent
32c719a668
commit
07a93af359
1 changed files with 3 additions and 1 deletions
|
|
@ -15,8 +15,10 @@
|
||||||
|
|
||||||
services:
|
services:
|
||||||
log-proxy:
|
log-proxy:
|
||||||
|
# Paths are resolved relative to --project-directory (the repo root),
|
||||||
|
# which Coolify sets, NOT the compose file's directory.
|
||||||
build:
|
build:
|
||||||
context: ../log-proxy
|
context: ./log-proxy
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue