Skip to content

Commit

Permalink
Update Jenkinsfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Divya4242 authored May 15, 2024
1 parent 549688c commit 24ccbe6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ pipeline {
sudo mv build/ /var/www/
cd
docker rmi -f divyapatel42/ecommerce-webapp:backendjenkins || true
docker rm -f \$(docker ps -q --filter "publish=5000/tcp")
docker rm -f \$(docker ps -q --filter "publish=8000/tcp")
docker run -d -p 8000:8000 divyapatel42/ecommerce-webapp:backendjenkins
"""
// SSH into EC2 instance and pull Docker image
Expand Down

0 comments on commit 24ccbe6

Please sign in to comment.