Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
RezaRahemtola committed Dec 6, 2024
1 parent 52184af commit b8370b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deployment/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ docker stop libertai-agent && docker rm $_

# Deploying the new agent
unzip $ZIP_PATH -d $CODE_PATH
wget https://raw.githubusercontent.com/Libertai/libertai-agents/refs/heads/reza/deployment-instances/deployment/$2.Dockerfile -O $DOCKERFILE_PATH -q
wget https://raw.githubusercontent.com/Libertai/libertai-agents/refs/heads/reza/deployment-instances/deployment/$2.Dockerfile -O $DOCKERFILE_PATH
docker build $CODE_PATH \
-f $DOCKERFILE_PATH \
-t libertai-agent \
Expand All @@ -24,4 +24,4 @@ docker run --name libertai-agent -p 8000:8000 -d libertai-agent
# Cleanup
rm -f $ZIP_PATH
# rm -rf $CODE_PATH
rm -f $DOCKERFILE_PATH
# rm -f $DOCKERFILE_PATH

0 comments on commit b8370b2

Please sign in to comment.