fix some for build

This commit is contained in:
mahmood
2026-09-10 00:18:53 +03:30
parent c59ca8e1dc
commit 05a9837695
3 changed files with 6 additions and 15 deletions
+2 -5
View File
@@ -1,9 +1,6 @@
FROM node:20-bookworm-slim AS base
RUN apt-get update \
&& apt-get install -y --no-install-recommends openssl ca-certificates \
&& rm -rf /var/lib/apt/lists/*
FROM node:20-bookworm AS base
# Setup pnpm
# Setup pnpm — base image already includes openssl/ca-certificates (no apt needed)
ENV PNPM_HOME="/pnpm"
ENV PATH="$PNPM_HOME:$PATH"
RUN corepack enable pnpm