Skip to content
This repository was archived by the owner on Aug 30, 2021. It is now read-only.

Commit 6911b80

Browse files
authored
feat(forever): removing forever dependency (#1409)
cleaning up project dependencies by removing the forever package which is only really used by Heroku's procfile to start up the node service
1 parent b198ca7 commit 6911b80

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ RUN curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash -
2323
RUN sudo apt-get install -yq nodejs
2424

2525
# Install MEAN.JS Prerequisites
26-
RUN npm install --quiet -g grunt-cli gulp bower yo mocha karma-cli pm2 forever
26+
RUN npm install --quiet -g grunt-cli gulp bower yo mocha karma-cli pm2
2727

2828
RUN mkdir /opt/mean.js
2929
RUN mkdir -p /opt/mean.js/public/lib

Procfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
web: ./node_modules/.bin/forever -m 5 server.js
1+
web: npm start

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@
4646
"express": "~4.14.0",
4747
"express-session": "~1.13.0",
4848
"file-stream-rotator": "~0.0.6",
49-
"forever": "~0.15.1",
5049
"generate-password": "~1.1.1",
5150
"glob": "~7.0.0",
5251
"grunt": "~1.0.1",

0 commit comments

Comments
 (0)