Replace command line Docker image build with Gradle Jib plugin
This commit is contained in:
committed by
Petri Tuomola
parent
b2dbbe66de
commit
6e052e536b
+3
-3
@@ -36,9 +36,9 @@ services:
|
||||
ports:
|
||||
- "3306:3306"
|
||||
fineract-server:
|
||||
build:
|
||||
context: .
|
||||
target: fineract
|
||||
image: fineract:latest
|
||||
volumes:
|
||||
- ./fineract-provider/build/data:/data
|
||||
healthcheck:
|
||||
test: ["CMD", 'sh', '-c', 'echo -e "Checking for the availability of Fineract server deployment"; while ! nc -z "fineract-server" 8443; do sleep 1; printf "-"; done; echo -e " >> Fineract server has started";' ]
|
||||
timeout: 10s
|
||||
|
||||
Reference in New Issue
Block a user