Skip to content

Commit

Permalink
Update Docker configuration to use absolute path for loading image
Browse files Browse the repository at this point in the history
  • Loading branch information
aridanemartin committed Jun 29, 2024
1 parent 4dfd2dc commit 80a4a63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
username: ${{ secrets.EC2_USER }}
key: ${{ secrets.EC2_KEY }}
script: |
docker load < ~/gatos-sin-hogar-backend.tar
docker load < /home/ubuntu/gatos-sin-hogar-backend.tar
docker stop gatos-sin-hogar-backend || true
docker rm gatos-sin-hogar-backend || true
docker run -d --name gatos-sin-hogar-backend -p 80:7000 gatos-sin-hogar-backend

0 comments on commit 80a4a63

Please sign in to comment.