Skip to content

Commit

Permalink
vulnerability fix - api (#1768)
Browse files Browse the repository at this point in the history
* vulnerability fix

* Update prod.txt
  • Loading branch information
auslin-aot authored Nov 23, 2023
1 parent bcde80d commit 7d80442
Show file tree
Hide file tree
Showing 10 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion forms-flow-api/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#Author: Kurian Benoy
FROM python:3.9-slim-buster
FROM python:3.10.13-slim-bullseye

# set label for image
LABEL Name="formsflow"
Expand Down
4 changes: 2 additions & 2 deletions forms-flow-api/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ PyJWT==2.8.0
PySocks==1.7.1
SQLAlchemy-Utils==0.41.1
SQLAlchemy==2.0.21
Werkzeug==3.0.0
Werkzeug==3.0.1
alembic==1.12.0
aniso8601==9.0.1
attrs==23.1.0
Expand Down Expand Up @@ -61,6 +61,6 @@ sortedcontainers==2.4.0
trio-websocket==0.11.1
trio==0.22.2
typing_extensions==4.8.0
urllib3==2.0.6
urllib3==2.0.7
wsproto==1.2.0
zstandard==0.21.0
2 changes: 1 addition & 1 deletion forms-flow-data-analysis-api/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#Author: Kurian Benoy
FROM python:3.9.16-slim-buster
FROM python:3.10.13-slim-bullseye

# set label for image
LABEL Name="formsflow"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
NumPy==1.24.1
Transformers==4.25.1
Transformers==4.33.2
torch==1.13.1
scikit-learn==1.2.0
datasets==2.8.0
Expand Down
4 changes: 2 additions & 2 deletions forms-flow-data-analysis-api/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ MarkupSafe==2.1.3
PyYAML==6.0.1
SQLAlchemy-Utils==0.41.1
SQLAlchemy==2.0.21
Werkzeug==2.3.7
Werkzeug==3.0.1
alembic==1.12.0
aniso8601==9.0.1
attrs==23.1.0
Expand Down Expand Up @@ -62,5 +62,5 @@ torch==2.0.1
tqdm==4.66.1
transformers==4.33.2
typing_extensions==4.8.0
urllib3==2.0.5
urllib3==2.0.7
wasabi==0.10.1
2 changes: 1 addition & 1 deletion forms-flow-data-analysis-api/requirements/prod.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
gunicorn
Flask
Flask<3
Flask-SQLAlchemy
flask-restx
flask-jwt-oidc
Expand Down
2 changes: 1 addition & 1 deletion forms-flow-documents/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#Author: Kurian Benoy
FROM python:3.9-slim-buster
FROM python:3.10.13-slim-bullseye

# set label for image
LABEL Name="formsflow"
Expand Down
4 changes: 2 additions & 2 deletions forms-flow-documents/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ PyJWT==2.8.0
PySocks==1.7.1
SQLAlchemy-Utils==0.41.1
SQLAlchemy==2.0.21
Werkzeug==3.0.0
Werkzeug==3.0.1
alembic==1.12.0
aniso8601==9.0.1
attrs==23.1.0
Expand Down Expand Up @@ -62,6 +62,6 @@ sortedcontainers==2.4.0
trio-websocket==0.11.1
trio==0.22.2
typing_extensions==4.8.0
urllib3==2.0.6
urllib3==2.0.7
wsproto==1.2.0
zstandard==0.21.0
2 changes: 1 addition & 1 deletion jobs/sentiment-analysis/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.9-slim-buster
FROM python:3.10.13-slim-bullseye

ARG SOURCE_REPO=BCDevOps
ARG GOCROND_VERSION=0.6.2
Expand Down
6 changes: 3 additions & 3 deletions jobs/sentiment-analysis/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ MarkupSafe==2.1.3
PyYAML==6.0
SQLAlchemy-Utils==0.41.1
SQLAlchemy==2.0.17
Werkzeug==2.3.6
Werkzeug==3.0.1
alembic==1.11.1
aniso8601==9.0.1
attrs==23.1.0
blinker==1.6.2
blis==0.7.9
cachelib==0.10.2
catalogue==1.0.2
certifi==2023.5.7
certifi==2023.7.22
charset-normalizer==3.1.0
click==8.1.3
cymem==2.0.7
Expand Down Expand Up @@ -63,5 +63,5 @@ torch==2.0.1
tqdm==4.65.0
transformers==4.30.2
typing_extensions==4.6.3
urllib3==2.0.3
urllib3==2.0.7
wasabi==0.10.1

0 comments on commit 7d80442

Please sign in to comment.