We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fb286cf commit 6d35981Copy full SHA for 6d35981
Dockerfile
@@ -33,4 +33,4 @@ COPY Procfile Procfile
33
ENV NODE_ENV=production
34
35
ENTRYPOINT ["yarn"]
36
-CMD ["start"]
+CMD ["start:prod"]
Procfile
package.json
@@ -15,6 +15,7 @@
15
"prebuild": "rimraf dist",
16
"build": "nest build",
17
"start": "node dist/main",
18
+ "start:prod": "npm run migrations:run && npm start",
19
"dev": "nest start --watch",
20
"lint": "xo",
21
"lint:fix": "xo --fix",
0 commit comments