Skip to content

Commit

Permalink
commands, git on docker
Browse files Browse the repository at this point in the history
  • Loading branch information
edcohen08 committed Apr 15, 2023
1 parent 0569d66 commit 4f9d5b9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# Use an official Python base image from the Docker Hub
FROM python:3.11-slim

# Install git
RUN apt-get -y update
RUN apt-get -y install git

# Set environment variables
ENV PIP_NO_CACHE_DIR=yes \
PYTHONUNBUFFERED=1 \
Expand Down
2 changes: 1 addition & 1 deletion autogpt/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def execute_command(command_name, arguments):
elif command_name == "get_hyperlinks":
return get_hyperlinks(arguments["url"])
elif command_name == "clone_repository":
return clone_repository(arguments["repo_url"], arguments["clone_path"])
return clone_repository(arguments["repository_url"], arguments["clone_path"])
elif command_name == "read_file":
return read_file(arguments["file"])
elif command_name == "write_to_file":
Expand Down

0 comments on commit 4f9d5b9

Please sign in to comment.