mirror of
https://github.com/umami-software/umami.git
synced 2026-02-04 12:47:13 +01:00
Update docker build.
This commit is contained in:
parent
a37dd6180b
commit
6541ba1ab4
5 changed files with 9 additions and 28 deletions
|
|
@ -5,11 +5,11 @@ const chalk = require('chalk');
|
|||
const spawn = require('cross-spawn');
|
||||
|
||||
let message = '';
|
||||
const updateMessage = `To update your database, you need to run:\n${chalk.bold.whiteBright(
|
||||
const updateMessage = `To update your database, you need to run:\n${chalk.bold.yellow(
|
||||
'yarn update-db',
|
||||
)}`;
|
||||
const baselineMessage = cmd =>
|
||||
`You need to update your database by running:\n${chalk.bold.whiteBright(cmd)}`;
|
||||
`You need to update your database by running:\n${chalk.bold.yellow(cmd)}`;
|
||||
|
||||
function success(msg) {
|
||||
console.log(chalk.greenBright(`✓ ${msg}`));
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
require('dotenv').config();
|
||||
const cli = require('next/dist/cli/next-start');
|
||||
|
||||
cli.nextStart(['-p', process.env.PORT || 3000, '-H', process.env.HOSTNAME || '0.0.0.0']);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue