-
-
Notifications
You must be signed in to change notification settings - Fork 6.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Remove poetry * Clean up file bloat * Use right docker path
- Loading branch information
1 parent
0452695
commit 38ef734
Showing
5 changed files
with
36 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Getting Started using Docker | ||
|
||
**Running using docker cli**: | ||
|
||
Building the image: | ||
- `git clone https://github.com/AntonOsika/gpt-engineer.git` | ||
- `cd gpt-engineer` | ||
- `docker build --rm -t gpt-engineer -f docker/Dockerfile .` | ||
|
||
Running the container: | ||
- `docker run -it --rm -e OPENAI_API_KEY="YOUR OPENAI KEY" -v ./your-project:/project gpt-engineer` | ||
|
||
The `-v` flag mounts the `your-project` folder into the container. Make sure to have a `prompt` file in there. | ||
|
||
**Running using docker-compose cli**: | ||
|
||
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 run --rm gpt-engineer` | ||
|
||
|
||
Set the OPENAI_API_KEY in docker/docker-compose.yml using .env file or environment variable, and mount your project folder into the container using volumes. for example "./projects/example:/project" ./projects/example is the path to your project folder. |
File renamed without changes.
File renamed without changes.