Skip to content

Commit

Permalink
fixed bower install
Browse files Browse the repository at this point in the history
  • Loading branch information
Norman Rzepka committed Jan 11, 2017
1 parent 910579c commit eed2869
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ services:
extends:
service: time-tracker-sbt
entrypoint: bash
command: -c "cd /project ; npm install && node_modules/.bin/webpack"
command: -c "cd /project && npm install --unsafe-perm && node_modules/.bin/webpack"

mongo:
image: mongo
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"url": "https://github.com/scalableminds/time-tracker/issues"
},
"scripts": {
"postinstall": "bower install"
"postinstall": "bower --allow-root install"
},
"homepage": "https://github.com/scalableminds/time-tracker#readme",
"devDependencies": {
Expand Down
1 change: 1 addition & 0 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ module.exports = {
filename: "main.js",
publicPath: "/assets/",
},
bail: true,
resolve: {
alias: {
"app" : appRoot + "/app",
Expand Down

0 comments on commit eed2869

Please sign in to comment.