build : @yvv/nuxt-base en git+https + git dans l'étape build Docker
ci/woodpecker/push/woodpecker Pipeline failed
ci/woodpecker/push/woodpecker Pipeline failed
- la dép git+ssh échouait en CI : pas de clé SSH ni de binaire git dans l'étape build (ENOENT sur git clone) — seule la prod installait git - package.json + pnpm-lock : git+https://git.open.us.org/… (#v0.1.0 → b1c6a2f, même commit épinglé) — nécessite le repo yvv-nuxt-base public - git + ca-certificates ajoutés à l'étape build du Dockerfile - vérifié : pnpm install + build zéro erreur, prod :3099 → 200 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -11,6 +11,9 @@ WORKDIR /app
|
||||
# Build
|
||||
FROM base AS build
|
||||
|
||||
# git requis : dépendance @yvv/nuxt-base en git+https (l'image slim n'a pas git)
|
||||
RUN apt-get update && apt-get -fy install git ca-certificates && rm -rf /var/cache/apt/*
|
||||
|
||||
RUN corepack enable
|
||||
|
||||
COPY package.json pnpm-lock.yaml ./
|
||||
|
||||
Reference in New Issue
Block a user