Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

Update Dockerfile.standalone-infisical

Daniel Hougaard14884cd6b024
diff --git a/Dockerfile.standalone-infisical b/Dockerfile.standalone-infisical
index 1a6775c98c..41c898b793 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