fixed port

This commit is contained in:
Nana Janashia
2020-11-22 10:13:21 +01:00
parent 0576e0033b
commit 45817d153a

2
Jenkinsfile vendored
View File

@@ -38,7 +38,7 @@ pipeline {
steps {
script {
echo 'deploying docker image to EC2...'
def dockerCmd = "docker run -p 3080:3080 -d ${IMAGE_NAME}"
def dockerCmd = "docker run -p 8080:8080 -d ${IMAGE_NAME}"
sshagent(['ec2-server-key']) {
sh "ssh -o StrictHostKeyChecking=no ec2-user@35.180.251.121 ${dockerCmd}"
}