Skip to content
This repository has been archived by the owner on Sep 4, 2020. It is now read-only.

Commit

Permalink
Fixing production start, refs #1
Browse files Browse the repository at this point in the history
  • Loading branch information
Genar Trias Ortiz committed Jan 3, 2018
1 parent b2a5f99 commit a9dc3d7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ ENV PORT 3000

RUN apt update && apt install unzip && apt-get clean

ENTRYPOINT ["node", "."]
ENTRYPOINT ["npm", "start"]
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"lint": "eslint server",
"babel-node": "babel-node server/server.js",
"nodemon": "nodemon --exec npm run babel-node",
"start": "node .",
"start": "npm run babel-node",
"dev": "DEBUG=goby-api* NODE_ENV=development DB_HOST=localhost npm run nodemon",
"ci-test": "NODE_ENV=test npm test -- --no-color",
"test": "node scripts/test.js",
Expand Down

0 comments on commit a9dc3d7

Please sign in to comment.