Skip to content

Commit

Permalink
chore(dockerfile): remove fly.io and update dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Douglas Pereira Junior authored and Douglas Pereira Junior committed Sep 7, 2023
1 parent e6772af commit 98f5705
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 19 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ RUN npm i

COPY . .

CMD [ "npm", "run", "start:dev" ]
CMD [ "npm", "run", "start:prod" ]
17 changes: 0 additions & 17 deletions fly.toml

This file was deleted.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"prebuild": "rimraf dist",
"build": "nest build",
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
"start": "nest start",
"start": "NODE_ENV=production nest start",
"start:dev": "NODE_ENV=development nest start --watch",
"start:debug": "nest start --debug --watch",
"start:prod": "NODE_ENV=production node dist/main",
Expand Down

0 comments on commit 98f5705

Please sign in to comment.