mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 22:01:09 +02:00
fix(web): remove silent npm install failures in all web Dockerfiles
The production stage was silently ignoring npm install failures with `|| true`, causing dependencies to be missing at runtime. Affected: clock, manacore, chat, calendar web apps. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
17c4932fc5
commit
ef44c065f9
4 changed files with 4 additions and 4 deletions
|
|
@ -62,7 +62,7 @@ COPY --from=builder /app/apps/calendar/apps/web/build ./build
|
|||
COPY --from=builder /app/apps/calendar/apps/web/package.json ./
|
||||
|
||||
# Install only production dependencies for the built app
|
||||
RUN npm install --omit=dev 2>/dev/null || true
|
||||
RUN npm install --omit=dev
|
||||
|
||||
# Expose port
|
||||
EXPOSE 5186
|
||||
|
|
|
|||
|
|
@ -62,7 +62,7 @@ COPY --from=builder /app/apps/chat/apps/web/build ./build
|
|||
COPY --from=builder /app/apps/chat/apps/web/package.json ./
|
||||
|
||||
# Install only production dependencies for the built app
|
||||
RUN npm install --omit=dev 2>/dev/null || true
|
||||
RUN npm install --omit=dev
|
||||
|
||||
# Expose port
|
||||
EXPOSE 3000
|
||||
|
|
|
|||
|
|
@ -62,7 +62,7 @@ COPY --from=builder /app/apps/clock/apps/web/build ./build
|
|||
COPY --from=builder /app/apps/clock/apps/web/package.json ./
|
||||
|
||||
# Install only production dependencies for the built app
|
||||
RUN npm install --omit=dev 2>/dev/null || true
|
||||
RUN npm install --omit=dev
|
||||
|
||||
# Expose port
|
||||
EXPOSE 5187
|
||||
|
|
|
|||
|
|
@ -63,7 +63,7 @@ COPY --from=builder /app/apps/manacore/apps/web/build ./build
|
|||
COPY --from=builder /app/apps/manacore/apps/web/package.json ./
|
||||
|
||||
# Install only production dependencies for the built app
|
||||
RUN npm install --omit=dev 2>/dev/null || true
|
||||
RUN npm install --omit=dev
|
||||
|
||||
# Expose port
|
||||
EXPOSE 5173
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue