Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions enforcer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,8 @@ COPY ./resources/ resources/
COPY ./requirements.txt requirements.txt


RUN pip install --no-cache-dir --upgrade pip
# Install the project dependencies
RUN python -m ensurepip --upgrade
RUN pip install --no-cache-dir "pip>=25.3" \
&& rm -rf /usr/local/lib/python3.12/ensurepip/_bundled/pip-*.whl
RUN pip install --no-cache-dir -r requirements.txt

CMD ["python", "enforcer_main.py"]
2 changes: 1 addition & 1 deletion enforcer/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ cachetools==5.3.3
prometheus-client==0.20.0
kubernetes==26.1.0
pyasn1>=0.6.2
urllib3==2.6.2
urllib3==2.6.3