Update Jenkinsfile
All checks were successful
Updates/glados-voice/pipeline/head This commit looks good

This commit is contained in:
2025-05-13 00:41:15 +00:00
parent aab8b9b1ee
commit 35404bf065

2
Jenkinsfile vendored
View File

@@ -51,7 +51,7 @@ pipeline {
// Use the image built in the previous stage
// Set the container name
// Map the ports
sh "docker run -d --name ${env.CONTAINER_NAME} -p ${env.HOST_PORT}:${env.CONTAINER_PORT} ${env.IMAGE_NAME}"
sh "docker run -d --restart=always --name ${env.CONTAINER_NAME} -p ${env.HOST_PORT}:${env.CONTAINER_PORT} ${env.IMAGE_NAME}"
echo "Container ${env.CONTAINER_NAME} should be running."
echo "You can check its status with: docker ps -f name=${env.CONTAINER_NAME}"