Skip to content

Commit

Permalink
feat: 增加PM2配置文件
Browse files Browse the repository at this point in the history
  • Loading branch information
JerryFan626 committed Mar 18, 2024
1 parent fb5fe1f commit c3274d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ecosystem.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module.exports = {
apps: [{
name: 'Chat2DB 文档', // 应用名称
script: 'npm', // 运行脚本
args: 'build', // 传递给脚本的参数
args: 'run build', // 传递给脚本的参数
env: {
NODE_ENV: 'production', // 环境变量
PORT: 3099, // 你希望 Next.js 运行在哪个端口上
Expand Down

0 comments on commit c3274d4

Please sign in to comment.