Skip to content

Commit

Permalink
Merge main into sweep/add-stale-action
Browse files Browse the repository at this point in the history
  • Loading branch information
sweep-ai[bot] committed Aug 19, 2023
2 parents 9f9e0dd + 8358b60 commit 81b7447
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docker/docker-compose.yml → docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ services:
gpt-engineer:
build:
context: .
dockerfile: Dockerfile
dockerfile: docker/Dockerfile
stdin_open: true
tty: true
# Set the API key from the .env file
env_file:
- .env
## OR set the API key directly
# environment:
# - OPENAI_API_KEY="YOUR_API_KEY_HERE"
# - OPENAI_API_KEY=YOUR_API_KEY
image: gpt-engineer
volumes:
- ./projects/example:/project
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM python:3.9-slim

RUN apt-get update \
&& apt-get install -y sudo
&& apt-get install -y sudo tk tcl

WORKDIR /app

Expand Down
2 changes: 1 addition & 1 deletion docker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ The `-v` flag mounts the `your-project` folder into the container. Make sure to
Building the image:
- `git clone https://github.com/AntonOsika/gpt-engineer.git`
- `cd gpt-engineer`
- `docker-compose build -f docker/docker-compose.yml`
- `docker-compose -f docker-compose.yml build`
- `docker-compose run --rm gpt-engineer`


Expand Down

0 comments on commit 81b7447

Please sign in to comment.