Skip to content

Commit

Permalink
working finally locally
Browse files Browse the repository at this point in the history
systemctl start podman.socket
podman-compose build
podman-compose up
  • Loading branch information
mike dupont committed Sep 29, 2023
1 parent 69cc8a2 commit 10941b2
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 8 deletions.
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
WORKDIR /opt/ai-ticket
COPY pyproject.toml /opt/ai-ticket/
COPY setup.cfg /opt/ai-ticket/
COPY requirements.txt /opt/ai-ticket/
COPY ./src/ /opt/ai-ticket/src/
RUN pip install /opt/ai-ticket/


RUN apt update
RUN apt install -y git
RUN pip install --trusted-host pypi.python.org -r requirements.txt
14 changes: 7 additions & 7 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,17 @@ services:
image: ai_ticket
build:
context: .
entrypoint: /bin/bash
stdin_open: true # docker run -i
tty: true # docker run -t
#entrypoint: /bin/bash
#stdin_open: true # docker run -i
#tty: true # docker run -t

autogpt:
#entrypoint: bash -c "poetry run pip install /opt/ai-ticket && poetry run autogpt --install-plugin-deps --skip-news"
entrypoint: bash -c "poetry run pip install /opt/ai-ticket && poetry run autogpt --install-plugin-deps --skip-news -y"

# uncomment thse next 3 lines for debugging
entrypoint: /bin/bash
stdin_open: true # docker run -i
tty: true # docker run -t
#entrypoint: /bin/bash
#stdin_open: true # docker run -i
#tty: true # docker run -t
environment:
- GITHUB_PAT="${GITHUB_PAT}"
- GITHUB_REPO="jmikedupont2/ai-ticket"
Expand Down
2 changes: 2 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
PyGithub
python-dotenv
2 changes: 1 addition & 1 deletion vendor/Auto-GPT
Submodule Auto-GPT updated 2 files
+9 −5 Dockerfile
+1,845 −0 requirements.txt

0 comments on commit 10941b2

Please sign in to comment.