Update Dockerfile.standalone-infisical

This commit is contained in:
Daniel Hougaard
2024-11-08 21:23:29 +04:00
parent 98fd146e85
commit 14884cd6b0

View File

@@ -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