如何手动打包部署? #1453
-
💻 系统环境macOS 📦 部署环境Other 🌐 浏览器Chrome 🐛 问题描述看完整个文档也没有找到如何打包的,就是我不使用docker或者其他部署方式,在clone主分支后的代码里添加了自己的代码,然后打包发布怎么操作?pnpm run build, npx next build,都没有发现打包后的目录dist 🚦 期望结果No response 📷 复现步骤No response 📝 补充信息No response |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
💻 System environmentmacOS 📦 Deployment environmentOther 🌐 BrowserChrome 🐛 Problem descriptionAfter reading the entire document, I still can't find how to package it. I don't use docker or other deployment methods. I add my own code to the code behind the clone master branch, and then package and publish it. How do I do it? pnpm run build, npx next build, neither found the packaged directory dist. 🚦 Expected resultsNo response 📷 Steps to reproduceNo response 📝 Supplementary informationNo response |
Beta Was this translation helpful? Give feedback.
-
👀 @xaseven Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible. |
Beta Was this translation helpful? Give feedback.
-
next 打包后的目录在 |
Beta Was this translation helpful? Give feedback.
-
不使用Docker,直接在服务器上启动有两个办法:
|
Beta Was this translation helpful? Give feedback.
next 打包后的目录在
.next
,剩下的自己看 nextjs 文档吧。