2022-06-27 17:34:03 +00:00
|
|
|
require('dotenv').config();
|
2020-10-01 05:56:23 +00:00
|
|
|
const cli = require('next/dist/cli/next-start');
|
|
|
|
|
|
2023-09-29 15:22:11 +00:00
|
|
|
cli.nextStart({
|
|
|
|
|
'--port': process.env.PORT || 3000,
|
|
|
|
|
'--hostname': process.env.HOSTNAME || '0.0.0.0',
|
|
|
|
|
_: [],
|
|
|
|
|
});
|