Skip to content

Commit 6147fae

Browse files
rpanchamopenshift-merge-bot[bot]
authored andcommitted
Fix Starlette CVE by upgrading FastAPI/Starlette
1 parent 108db0e commit 6147fae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ COPY caikit.yml /caikit/config/caikit.yml
2828

2929
ENV VIRTUAL_ENV=/caikit/.venv
3030
ENV PATH="$VIRTUAL_ENV/bin:$PATH"
31-
31+
RUN /caikit/.venv/bin/pip install --no-cache-dir "fastapi==0.123.7" "starlette>=0.49.1,<0.51.0"
3232
RUN groupadd --system caikit --gid 1001 && \
3333
adduser --system --uid 1001 --gid 0 --groups caikit \
3434
--create-home --home-dir /caikit --shell /sbin/nologin \

0 commit comments

Comments
 (0)