Update docker build.

This commit is contained in:
Mike Cao 2022-06-27 10:34:03 -07:00
parent a37dd6180b
commit 6541ba1ab4
5 changed files with 9 additions and 28 deletions

View file

@ -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}`));

View file

@ -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']);