-
Notifications
You must be signed in to change notification settings - Fork 629
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1083 from pc-bob/BL/fix-security-vulns
update dependencies to fix various high/critical security vulnerabilies
- Loading branch information
Showing
2 changed files
with
12 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,41 @@ | ||
FROM python:3.10 as base | ||
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 | ||
|
||
FROM base as github_app | ||
FROM base AS github_app | ||
ADD pr_agent pr_agent | ||
CMD ["python", "-m", "gunicorn", "-k", "uvicorn.workers.UvicornWorker", "-c", "pr_agent/servers/gunicorn_config.py", "--forwarded-allow-ips", "*", "pr_agent.servers.github_app:app"] | ||
|
||
FROM base as bitbucket_app | ||
FROM base AS bitbucket_app | ||
ADD pr_agent pr_agent | ||
CMD ["python", "pr_agent/servers/bitbucket_app.py"] | ||
|
||
FROM base as bitbucket_server_webhook | ||
FROM base AS bitbucket_server_webhook | ||
ADD pr_agent pr_agent | ||
CMD ["python", "pr_agent/servers/bitbucket_server_webhook.py"] | ||
|
||
FROM base as github_polling | ||
FROM base AS github_polling | ||
ADD pr_agent pr_agent | ||
CMD ["python", "pr_agent/servers/github_polling.py"] | ||
|
||
FROM base as gitlab_webhook | ||
FROM base AS gitlab_webhook | ||
ADD pr_agent pr_agent | ||
CMD ["python", "pr_agent/servers/gitlab_webhook.py"] | ||
|
||
FROM base as azure_devops_webhook | ||
FROM base AS azure_devops_webhook | ||
ADD pr_agent pr_agent | ||
CMD ["python", "pr_agent/servers/azuredevops_server_webhook.py"] | ||
|
||
FROM base as test | ||
FROM base AS test | ||
ADD requirements-dev.txt . | ||
RUN pip install -r requirements-dev.txt && rm requirements-dev.txt | ||
ADD pr_agent pr_agent | ||
ADD tests tests | ||
|
||
FROM base as cli | ||
FROM base AS cli | ||
ADD pr_agent pr_agent | ||
ENTRYPOINT ["python", "pr_agent/cli.py"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters