diff --git a/deploy-this/deploy-dc.yml b/deploy-this/deploy-dc.yml index d7d6e85..1d2c345 100644 --- a/deploy-this/deploy-dc.yml +++ b/deploy-this/deploy-dc.yml @@ -14,7 +14,7 @@ services: entrypoint: - java - -jar - - /apps_data/jars/angular-services-0.0.1.jar + - /apps_data/angular-services-0.0.1.jar ports: - 8800:8800/tcp # exposing port for www diff --git a/deploy-this/deploy.jenkinsfile b/deploy-this/deploy.jenkinsfile index a5ddda2..77f11f5 100644 --- a/deploy-this/deploy.jenkinsfile +++ b/deploy-this/deploy.jenkinsfile @@ -44,7 +44,7 @@ pipeline{ sh "mvn clean package" - sh "mkdir -p /apps_data/jars && cp ./target/*.jar /apps_data/jars" + sh "mkdir cp ./target/*.jar /apps_data" sh "docker compose -f deploy-this/deploy-dc.yml up --detach"