Fix web: use absolute path /app/node_modules/.bin/next
This commit is contained in:
parent
e7bb1007e2
commit
71d834e992
1 changed files with 1 additions and 2 deletions
|
|
@ -35,8 +35,7 @@ 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/.pnpm/node_modules/next/bin:/app/node_modules/.bin:$PATH"
|
|
||||||
|
|
||||||
EXPOSE 3000
|
EXPOSE 3000
|
||||||
|
|
||||||
CMD ["node", "/app/node_modules/.pnpm/node_modules/next/bin/next", "start"]
|
CMD ["/app/node_modules/.bin/next", "start"]
|
||||||
Loading…
Add table
Reference in a new issue