diff --git a/container/supervisord.conf b/container/supervisord.conf index c7f806d..fbe2d44 100644 --- a/container/supervisord.conf +++ b/container/supervisord.conf @@ -5,7 +5,7 @@ nodaemon=true command=/bin/bash -c "source /etc/apache2/envvars && exec /usr/sbin/apache2 -DFOREGROUND" [program:npm] -command=/bin/bash -c "cd /opt/adagios-frontend && npm start" +command=/bin/bash -c "npm start /opt/adagios-frontend" [program:grunt] command=/bin/bash -c "cd /opt/adagios-frontend && grunt sass && grunt" diff --git a/package.json b/package.json index 0d58015..1321a94 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ "scripts": { "postinstall": "bower install", "prestart": "npm install", - "start": "http-server -a 0.0.0.0 -p 8000 -c-1", + "start": "http-server -p 8000 -c-1", "pretest": "npm install", "test": "karma start karma.conf.js", "test-single-run": "karma start karma.conf.js --single-run",