Skip to content

Commit 98f5705

Browse files
Douglas Pereira JuniorDouglas Pereira Junior
authored andcommitted
chore(dockerfile): remove fly.io and update dockerfile
1 parent e6772af commit 98f5705

File tree

3 files changed

+2
-19
lines changed

3 files changed

+2
-19
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ RUN npm i
1414

1515
COPY . .
1616

17-
CMD [ "npm", "run", "start:dev" ]
17+
CMD [ "npm", "run", "start:prod" ]

fly.toml

Lines changed: 0 additions & 17 deletions
This file was deleted.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"prebuild": "rimraf dist",
1010
"build": "nest build",
1111
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
12-
"start": "nest start",
12+
"start": "NODE_ENV=production nest start",
1313
"start:dev": "NODE_ENV=development nest start --watch",
1414
"start:debug": "nest start --debug --watch",
1515
"start:prod": "NODE_ENV=production node dist/main",

0 commit comments

Comments
 (0)