diff --git a/Procfile b/Procfile index 0c1a4129..c417a650 100755 --- a/Procfile +++ b/Procfile @@ -1 +1 @@ -web: yarn -cwd api start:prod +web: node api/dist/main diff --git a/app.json b/app.json index 987600b3..b1bb089e 100644 --- a/app.json +++ b/app.json @@ -37,6 +37,10 @@ "description": "Database secret", "generator": "secret" }, + "NODE_ENV": { + "description": "Node environment (production or development)", + "value": "production" + }, "NPM_CONFIG_PRODUCTION": { "description": "Allow Dev Dependencies so we can compile typescript", "value": "false"