From 227b8d050155add4c78021d5f5d7bc22aca4b1e6 Mon Sep 17 00:00:00 2001 From: Artur Date: Thu, 3 Oct 2024 12:55:50 +0200 Subject: [PATCH] Now we start /_apps_data_/jars/angular-services-0.0.1.jar --- deploy-this/deploy-dc.yml | 4 ++-- deploy-this/deploy.jenkinsfile | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/deploy-this/deploy-dc.yml b/deploy-this/deploy-dc.yml index 52a398c..fe01e07 100644 --- a/deploy-this/deploy-dc.yml +++ b/deploy-this/deploy-dc.yml @@ -14,13 +14,13 @@ services: entrypoint: - java - -jar - - /_apps_jars_/angular-services-0.0.1.jar + - /_apps_data_/jars/angular-services-0.0.1.jar ports: - 8800:8800/tcp # exposing port for www volumes: - - apps_data:/_apps_jars_ + - apps_data:/_apps_data_ deploy: resources: diff --git a/deploy-this/deploy.jenkinsfile b/deploy-this/deploy.jenkinsfile index 4790a61..b257bfe 100644 --- a/deploy-this/deploy.jenkinsfile +++ b/deploy-this/deploy.jenkinsfile @@ -43,7 +43,7 @@ pipeline{ sh "mvn clean package" - sh "cp ./target/*.jar /_apps_jars_" + sh "cp ./target/*.jar /_apps_data_/jars" sh "docker compose -f deploy-this/deploy-dc.yml up --detach"