add bitbucket pipeline

This commit is contained in:
sarbjitgrewal
2023-09-11 16:08:23 +05:30
parent ca8997b616
commit 12bd9e8b42
6 changed files with 91 additions and 7 deletions

View File

@ -0,0 +1,11 @@
FROM python:3.10 as base
WORKDIR /app
ADD pyproject.toml .
ADD requirements.txt .
RUN pip install . && rm pyproject.toml requirements.txt
ENV PYTHONPATH=/app
ADD pr_agent pr_agent
ADD bitbucket_pipeline/entrypoint.sh /
RUN chmod +x /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]