mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-07-02 03:40:38 +08:00
13 lines
302 B
Docker
13 lines
302 B
Docker
FROM python:3.12 as base
|
|
|
|
WORKDIR /app
|
|
ADD pyproject.toml .
|
|
ADD requirements.txt .
|
|
RUN pip install --no-cache-dir . && rm pyproject.toml requirements.txt
|
|
ENV PYTHONPATH=/app
|
|
ADD docs docs
|
|
ADD pr_agent pr_agent
|
|
ADD github_action/entrypoint.sh /
|
|
RUN chmod +x /entrypoint.sh
|
|
ENTRYPOINT ["/entrypoint.sh"]
|