Set host to fineractmysql when running in docker

This commit is contained in:
conradsp
2019-07-01 19:21:58 +02:00
committed by Michael Vorburger ⛑️
parent ea29fac9f5
commit 21f50ef132
+1
View File
@@ -27,6 +27,7 @@ COPY . fineract
WORKDIR fineract
RUN sed -i 's/localhost/fineractmysql/' ./fineract-provider/build.gradle
RUN sed -i 's/localhost/fineractmysql/' ./fineract-provider/src/main/resources/sql/migrations/list_db/V1__mifos-platform-shared-tenants.sql
RUN ./gradlew clean war
RUN mv build/libs/fineract-provider.war /opt/bitnami/tomcat/webapps