mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 19:01:08 +02:00
fix(todo-web): remove silent npm install failure in Dockerfile
The production stage was silently ignoring npm install failures with `|| true`, causing date-fns and other dependencies to be missing at runtime. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
aa8cbb1662
commit
17c4932fc5
1 changed files with 1 additions and 1 deletions
|
|
@ -62,7 +62,7 @@ COPY --from=builder /app/apps/todo/apps/web/build ./build
|
|||
COPY --from=builder /app/apps/todo/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 5188
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue