fix: add default node_env variable

This commit is contained in:
Andras Bacsai
2022-12-19 23:07:01 +01:00
parent 14201f4052
commit 93430e5607
3 changed files with 7 additions and 5 deletions

View File

@@ -203,7 +203,7 @@ export const applicationsRouter = router({
let location = null;
const labels = [];
let image = null;
const envs = [`PORT=${port}`];
const envs = [`PORT=${port}`, 'NODE_ENV=production'];
if (secrets.length > 0) {
secrets.forEach((secret) => {