diff --git a/Dockerfile.standalone-infisical b/Dockerfile.standalone-infisical index 1a6775c98..41c898b79 100644 --- a/Dockerfile.standalone-infisical +++ b/Dockerfile.standalone-infisical @@ -73,11 +73,7 @@ RUN addgroup --system --gid 1001 nodejs \ WORKDIR /app # Required for pkcs11js -RUN apt-get update && apt-get install -y \ - python3 \ - make \ - g++ \ - && rm -rf /var/lib/apt/lists/* +RUN apk add --no-cache python3 make g++ COPY backend/package*.json ./ RUN npm ci --only-production @@ -93,11 +89,7 @@ FROM base AS backend-runner WORKDIR /app # Required for pkcs11js -RUN apt-get update && apt-get install -y \ - python3 \ - make \ - g++ \ - && rm -rf /var/lib/apt/lists/* +RUN apk add --no-cache python3 make g++ COPY backend/package*.json ./ RUN npm ci --only-production