"mkdir -p /apps_data/jars && cp ./target/*.jar /apps_data/jars

This commit is contained in:
Artur 2024-10-03 13:06:23 +02:00
parent f35a6536fe
commit 5d6df2cad3
2 changed files with 3 additions and 2 deletions

View File

@ -20,7 +20,7 @@ services:
- 8800:8800/tcp # exposing port for www
volumes:
- apps_data:/_apps_data_
- apps_data:/apps_data
deploy:
resources:

View File

@ -43,7 +43,8 @@ pipeline{
sh "mvn clean package"
sh "cp ./target/*.jar /_apps_data_"
sh "mkdir -p /apps_data/jars && cp ./target/*.jar /apps_data/jars"
sh "docker compose -f deploy-this/deploy-dc.yml up --detach"