Skip to content

Commit e038636

Browse files
committed
Do not use relative paths outside of build context
We need to act from the root directory, since Docker otherwise cannot access files in the target/ directory.
1 parent 4e86251 commit e038636

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/test/resources/compose.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@
1818

1919
services:
2020
channelfinder:
21-
build: .
21+
build:
22+
context: ../../..
23+
dockerfile: src/test/resources/Dockerfile
2224
hostname: channelfinder
2325
networks:
2426
- channelfinder-net

0 commit comments

Comments
 (0)