Skip to content

Commit 0a94a1f

Browse files
committed
add workflow file
1 parent 31041aa commit 0a94a1f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/docker-build-ec2.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
uses: appleboy/ssh-action@master
1919
with:
2020
command_timeout: "60m"
21-
host: 100.25.44.175
21+
host: 3.238.40.232
2222
username: ubuntu
2323

2424
key: ${{ secrets.SSH_PRIVATE_KEY }}
@@ -35,7 +35,7 @@ jobs:
3535
sudo docker rm omniparser-container || true
3636
3737
# Build the Docker image
38-
sudo nvidia-docker build -t omniparser .
38+
sudo docker build -t omniparser .
3939
4040
# Run the Docker container on the specified port
4141
sudo docker run -d -p 7861:7861 --gpus all --name omniparser-container omniparser

0 commit comments

Comments
 (0)