Fix web: use pnpm node_modules path for next binary
Some checks are pending
CI / Engine — lint / typecheck / test (push) Waiting to run
CI / API — lint / typecheck / test (push) Waiting to run
CI / Web — typecheck / lint / build (push) Waiting to run

This commit is contained in:
Manohar Gupta 2026-05-13 22:02:09 +05:30
parent 01c1a9682f
commit e7bb1007e2

View file

@ -35,8 +35,8 @@ COPY --from=builder /app/.env.local ./.env.local
ENV NODE_ENV=production ENV NODE_ENV=production
ENV NEXT_TELEMETRY_DISABLED=1 ENV NEXT_TELEMETRY_DISABLED=1
ENV PATH=/app/node_modules/.bin:$PATH ENV PATH="/app/node_modules/.pnpm/node_modules/next/bin:/app/node_modules/.bin:$PATH"
EXPOSE 3000 EXPOSE 3000
CMD ["next", "start"] CMD ["node", "/app/node_modules/.pnpm/node_modules/next/bin/next", "start"]