fixed run for tengine

This commit is contained in:
Brian Long 2021-01-18 17:45:46 -05:00
parent 340c7c6f30
commit 0e110947fc
3 changed files with 7 additions and 4 deletions

View File

@ -63,6 +63,9 @@ services:
- alfmarkdown-acs
alfmarkdown-tengine:
image: alfmarkdown-tengine:development
build:
dockerfile: ./Dockerfile
context: ../../../tengine/target
ports:
- "${ate.port}:8090"
volumes:

View File

@ -105,7 +105,7 @@ EXIT /B 0
)
EXIT /B 0
:build
call %MVN_EXEC% clean package
call %MVN_EXEC% -Pdocker clean package
EXIT /B 0
:build_share
docker-compose -f "%COMPOSE_FILE_PATH%" kill alfmarkdown-share
@ -120,7 +120,7 @@ EXIT /B 0
:build_tengine
docker-compose -f "%COMPOSE_FILE_PATH%" kill alfmarkdown-tengine
docker-compose -f "%COMPOSE_FILE_PATH%" rm -f alfmarkdown-tengine
call %MVN_EXEC% clean package -pl tengine
call %MVN_EXEC% clean package -Pdocker -pl tengine
EXIT /B 0
:tail
docker-compose -f "%COMPOSE_FILE_PATH%" logs -f

4
run.sh
View File

@ -44,7 +44,7 @@ purge() {
}
build() {
$MVN_EXEC clean package
$MVN_EXEC -Pdocker clean package
}
build_share() {
@ -62,7 +62,7 @@ build_acs() {
build_tengine() {
docker-compose -f "$COMPOSE_FILE_PATH" kill alfmarkdown-tengine
yes | docker-compose -f "$COMPOSE_FILE_PATH" rm -f alfmarkdown-tengine
$MVN_EXEC clean package -pl tengine
$MVN_EXEC clean package -Pdocker -pl tengine
}
tail() {