diff --git a/Dockerfile b/Dockerfile index edd9b5d09..76be1065e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,7 +8,9 @@ ARG DEBIAN_FRONTEND="noninteractive" WORKDIR /src # Install openssl for Prisma -RUN apt-get update && apt-get install -y openssl +RUN apt-get update && \ + apt-get install -y openssl && \ + rm -rf /var/lib/apt/lists/* # Install all node_modules, including dev dependencies FROM base AS deps diff --git a/Dockerfile.image b/Dockerfile.image index 3b45aaf70..8c68f17cc 100644 --- a/Dockerfile.image +++ b/Dockerfile.image @@ -8,7 +8,9 @@ ARG DEBIAN_FRONTEND="noninteractive" WORKDIR /src # Install openssl for Prisma -RUN apt-get update && apt-get install -y openssl +RUN apt-get update && \ + apt-get install -y openssl && \ + rm -rf /var/lib/apt/lists/* # Install all node_modules, including dev dependencies FROM base AS deps