We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e6772af commit 98f5705Copy full SHA for 98f5705
Dockerfile
@@ -14,4 +14,4 @@ RUN npm i
14
15
COPY . .
16
17
-CMD [ "npm", "run", "start:dev" ]
+CMD [ "npm", "run", "start:prod" ]
fly.toml
package.json
@@ -9,7 +9,7 @@
9
"prebuild": "rimraf dist",
10
"build": "nest build",
11
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
12
- "start": "nest start",
+ "start": "NODE_ENV=production nest start",
13
"start:dev": "NODE_ENV=development nest start --watch",
"start:debug": "nest start --debug --watch",
"start:prod": "NODE_ENV=production node dist/main",
0 commit comments