chore(docker): enforce --force flag for pnpm install across all Dockerfiles

This commit is contained in:
2026-01-28 20:49:16 +01:00
parent 3ffc5b6fde
commit 18288cf8f3
3 changed files with 6 additions and 6 deletions

View File

@@ -15,13 +15,13 @@ COPY documentation/package.json ./documentation/
# Utilisation du cache pour pnpm et installation figée
RUN --mount=type=cache,id=pnpm,target=/pnpm/store \
pnpm install --frozen-lockfile
pnpm install --frozen-lockfile --force
COPY . .
# Deuxième passe avec cache pour les scripts/liens
RUN --mount=type=cache,id=pnpm,target=/pnpm/store \
pnpm install --frozen-lockfile
pnpm install --frozen-lockfile --force
RUN pnpm run --filter @memegoat/backend build
RUN pnpm deploy --filter=@memegoat/backend --prod --legacy /app