Add ability to set listening port using environment variables

pull/135/head
jdtzmn 2020-09-10 10:05:58 -04:00
parent 69c19a90bc
commit c1d2a781f2
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@
"scripts": {
"dev": "next dev",
"build": "npm-run-all build-tracker compile-lang copy-db-schema build-db-client build-app",
"start": "next start",
"start": "next start -p ${PORT-3000}",
"build-app": "next build",
"build-tracker": "rollup -c rollup.tracker.config.js",
"copy-db-schema": "node scripts/copy-db-schema.js",