mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-07-03 04:10:49 +08:00
21 lines
445 B
Docker
21 lines
445 B
Docker
![]() |
FROM python:3.10 as base
|
||
|
|
||
|
WORKDIR /app
|
||
|
ADD requirements.txt .
|
||
|
RUN pip install -r requirements.txt && rm requirements.txt
|
||
|
ENV PYTHONPATH=/app
|
||
|
ADD pr_agent pr_agent
|
||
|
|
||
|
FROM base as github_app
|
||
|
CMD ["python", "servers/github_app.py"]
|
||
|
|
||
|
FROM base as github_polling
|
||
|
CMD ["python", "servers/github_polling.py"]
|
||
|
|
||
|
FROM base as test
|
||
|
ADD requirements-dev.txt .
|
||
|
RUN pip install -r requirements-dev.txt && rm requirements-dev.txt
|
||
|
|
||
|
FROM base as cli
|
||
|
CMD ["bash"]
|