Skip to content

Commit

Permalink
Change invalid input -> dockerfile to valid input -> file
Browse files Browse the repository at this point in the history
  • Loading branch information
DouglasVDM committed Feb 7, 2024
1 parent 0b76427 commit 00dd1e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ec2deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
with:
context: ./
push: true
dockerfile: ./Dockerfile
file: ./Dockerfile
tags: douglasvdmerwe/rh-backend:latest
deploy:
needs: build
Expand All @@ -51,4 +51,4 @@ jobs:
ssh -o StrictHostKeyChecking=no -i key.pem ubuntu@your-ec2-instance-ip 'sudo docker rm rh-backend || true'
- name: Run new container
run: |
ssh -o StrictHostKeyChecking=no -i key.pem ubuntu@your-ec2-instance-ip 'sudo docker run -d --name cddemo -p 80:3000 douglasvdmerwe/rh-backend:latest'
ssh -o StrictHostKeyChecking=no -i key.pem ubuntu@your-ec2-instance-ip 'sudo docker run -d --name rh-backend -p 80:3000 douglasvdmerwe/rh-backend:latest'

0 comments on commit 00dd1e8

Please sign in to comment.