Skip to content

Commit 79680ee

Browse files
authored
ROB-1486 CVE (#441)
1 parent b96bfdd commit 79680ee

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

enforcer/Dockerfile

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,9 @@
1-
# Use the official Python 3.12 slim image as the base image
2-
FROM python:3.12-slim
1+
FROM python:3.12-alpine
32
ENV LANG=C.UTF-8
43
ENV PYTHONDONTWRITEBYTECODE=1
54
ENV PYTHONUNBUFFERED=1
65
ENV PATH="/app/venv/bin:$PATH"
76

8-
# We're installing here libexpat1, to upgrade the package to include a fix to 3 high CVEs. CVE-2024-45491,CVE-2024-45490,CVE-2024-45492
9-
RUN apt-get update \
10-
&& apt-get install -y --no-install-recommends libexpat1 \
11-
&& rm -rf /var/lib/apt/lists/*
12-
137
# Set the working directory
148
WORKDIR /app/enforcer
159

enforcer/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
fastapi==0.109.2
1+
fastapi==0.115.12
22
uvicorn==0.27.1
33
pydantic==2.6.1
44
supabase==2.5

0 commit comments

Comments
 (0)