implement suggestions in bitbucket pipeline

This commit is contained in:
sarbjitgrewal
2023-09-21 14:42:59 +05:30
parent 5e608cc7e7
commit 46ec3c0754
5 changed files with 42 additions and 90 deletions

View File

@ -1,5 +1,12 @@
FROM python:3.10 as base
ENV OPENAI_API_KEY=${OPENAI_API_KEY} \
BITBUCKET_BEARER_TOKEN=${BITBUCKET_BEARER_TOKEN} \
BITBUCKET_PR_ID=${BITBUCKET_PR_ID} \
BITBUCKET_REPO_SLUG=${BITBUCKET_REPO_SLUG} \
BITBUCKET_WORKSPACE=${BITBUCKET_WORKSPACE}
WORKDIR /app
ADD pyproject.toml .
ADD requirements.txt .