add scripts to auto-install

This commit is contained in:
kilyabin
2025-11-18 03:57:22 +04:00
parent f7a8cc622f
commit b82d4e5085
12 changed files with 715 additions and 275 deletions

View File

@@ -11,7 +11,7 @@ WORKDIR /app
COPY package.json package-lock.json* pnpm-lock.yaml* ./
RUN \
if [ -f package-lock.json ]; then \
npm ci; \
npm ci --legacy-peer-deps; \
elif [ -f pnpm-lock.yaml ]; then \
corepack enable pnpm && corepack prepare pnpm@latest --activate && pnpm install --frozen-lockfile; \
else \