Fix Docker build context in docker-compose.deploy.yml
Change build context from '.' to '..' to correctly reference Dockerfile at repo root when compose file is in docker/ directory. This fixes Portainer deployment errors.
This commit is contained in:
@@ -66,7 +66,7 @@ services:
|
|||||||
|
|
||||||
web:
|
web:
|
||||||
build:
|
build:
|
||||||
context: .
|
context: ..
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
restart: always
|
restart: always
|
||||||
environment:
|
environment:
|
||||||
|
|||||||
Reference in New Issue
Block a user