Fix web: use pnpm node_modules path for next binary
This commit is contained in:
parent
01c1a9682f
commit
e7bb1007e2
1 changed files with 2 additions and 2 deletions
|
|
@ -35,8 +35,8 @@ COPY --from=builder /app/.env.local ./.env.local
|
|||
|
||||
ENV NODE_ENV=production
|
||||
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
|
||||
|
||||
CMD ["next", "start"]
|
||||
CMD ["node", "/app/node_modules/.pnpm/node_modules/next/bin/next", "start"]
|
||||
Loading…
Add table
Reference in a new issue