Skip to content

Commit

Permalink
Vulnerability fixes: Allow newer versions of fastapi and uvicorn (#92)
Browse files Browse the repository at this point in the history
  • Loading branch information
chiragjn authored Nov 6, 2024
1 parent 794a576 commit 8ec1bb4
Show file tree
Hide file tree
Showing 3 changed files with 1,280 additions and 1,055 deletions.
17 changes: 15 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
FROM python:3.9-slim
ENV DEBIAN_FRONTEND=noninteractive
FROM registry.access.redhat.com/ubi9/ubi-minimal:9.4-1227.1726694542
SHELL ["/bin/bash", "-c"]
USER root
RUN microdnf install -y \
unzip \
tar \
xz \
unzip \
git \
jq \
ca-certificates \
python3.11-devel python3.11-pip \
&& ln -s /usr/bin/python3.11 /usr/bin/python3 \
&& ln -s /usr/bin/python3 /usr/bin/python \
&& ln -s /usr/bin/pip3.11 /usr/bin/pip
RUN python -m pip install -U pip setuptools wheel poetry
WORKDIR /code
COPY poetry.lock pyproject.toml /code/
Expand Down
Loading

0 comments on commit 8ec1bb4

Please sign in to comment.