fix: Dockerfile.socket.prebuilt — --legacy-peer-deps manquant
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:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user