diff --git a/Dockerfile b/Dockerfile index bebb29169b6..ddc0be332d0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,10 +2,10 @@ FROM python:3.12-slim COPY requirements.txt /tmp/requirements.txt RUN apt update && \ - apt install build-essential -y && \ - apt install -y curl && \ + apt install build-essential curl -y && \ curl -fsSL https://deb.nodesource.com/setup_lts.x | bash - && \ apt-get install -y nodejs && \ + rm -rf /var/lib/apt/lists/* && \ pip3 install --no-cache-dir -r /tmp/requirements.txt WORKDIR /app