Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
FROM python:3.10-slim

ENV APP_HOME /
WORKDIR $APP_HOME

COPY requirements.txt requirements.txt
RUN pip3 install --no-cache-dir -r requirements.txt


ENTRYPOINT ["python", "app/run.py"]


6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@ Edit `run.py` to set your `purpose` and the `directory` of the target applicatio

Let it run free! `python run.py`

# To run with docker

build your dockers with: `docker-compose build`

run it with `docker-compose up`

## How does it work?

Its basically a small state machine. Each state performs some action and returns its desired next state
Expand Down
9 changes: 9 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
version: "3.9"
services:
ai:
build: .
tty: true
volumes:
- ./:/app
environment:
- OPENAI_API_KEY=${OPENAI_API_KEY}