Skip to content

Commit

Permalink
maybe this config will work
Browse files Browse the repository at this point in the history
  • Loading branch information
ericcccsliu committed Mar 29, 2024
1 parent 48f2989 commit 2e7a4c7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/deploy_api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ jobs:
fi
echo "$ENV_FILE_CONTENT" > .env
docker build -t hackgpt .
docker stop $(docker ps -q --filter ancestor=hackgpt) || true
docker run -d -p 8000:8000 hackgpt
docker stop hackgpt-container || true
docker rm hackgpt-container || true
docker run -d --name hackgpt-container -p 8000:8000 hackgpt
'

0 comments on commit 2e7a4c7

Please sign in to comment.