fix: Dockerfile.socket.prebuilt — --legacy-peer-deps manquant
All checks were successful
CI / Lint, Unit Tests & Build (push) Successful in 5m44s
CI / Deploy production (on server) (push) Successful in 54s

npm install sans --legacy-peer-deps échoue sur le conflit
@tiptap/core 3.22.5 vs 3.23.6 (collaboration vs starter-kit).
Aussi: --only=production → --omit=dev (npm 10+).
This commit is contained in:
Antigravity
2026-06-20 14:55:57 +00:00
parent de83d34a15
commit cb4c1cc9ad

View File

@@ -26,7 +26,7 @@ COPY tsconfig.json ./
COPY package.json package-lock.json* ./ COPY package.json package-lock.json* ./
# We still need to install dependencies because standalone doesn't have all of them (like tsx) # We still need to install dependencies because standalone doesn't have all of them (like tsx)
RUN npm install --only=production && npm install tsx RUN npm install --omit=dev --legacy-peer-deps && npm install tsx --legacy-peer-deps
ENV NODE_ENV=production ENV NODE_ENV=production
ENV SOCKET_PORT=3002 ENV SOCKET_PORT=3002