Skip to content

Commit

Permalink
fix: Production container
Browse files Browse the repository at this point in the history
  • Loading branch information
Dr0p42 committed Dec 19, 2024
1 parent 810b251 commit 59ffe87
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
11 changes: 8 additions & 3 deletions Dockerfile.linux.x86_64
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,15 @@ FROM python:3.9

WORKDIR /app

COPY assets lib src config.yaml Makefile .
ADD ./assets/ /app/assets
ADD ./lib/ /app/lib
ADD ./src/ /app/src
ADD ./config.yaml /app/config.yaml
ADD ./Makefile /app/Makefile
ADD ./poetry.lock /app/poetry.lock
ADD ./pyproject.toml /app/pyproject.toml

RUN pip install poetry
RUN poetry install


CMD ["poetry", "run", "api" ]
CMD ["poetry", "run", "api" ]
2 changes: 1 addition & 1 deletion src/api.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from fastapi import FastAPI, APIRouter
from src.assistants.SupervisorAgent import create_supervisor_agent
from src.assistants.foundation.SupervisorAgent import create_supervisor_agent
from src.data.pipelines.github.GithubIssuePipeline import GithubIssuePipeline, GithubIssuePipelineConfiguration
from src.data.pipelines.github.GithubIssuesPipeline import GithubIssuesPipeline, GithubIssuesPipelineConfiguration
from src.data.pipelines.github.GithubUserDetailsPipeline import GithubUserDetailsPipeline, GithubUserDetailsPipelineConfiguration
Expand Down

0 comments on commit 59ffe87

Please sign in to comment.