meanjs / mean

MEAN.JS - Full-Stack JavaScript Using MongoDB, Express, AngularJS, and Node.js -
http://meanjs.org
MIT License
4.87k stars 1.98k forks source link

docker-compose isn't installnng bower components inside the docker container... #1630

Closed PManager1 closed 7 years ago

PManager1 commented 7 years ago

I'm using all the Docker files used in the master code of mean js.. nothing changed at all.

I use the command docker-compose up Do i need to do anything before this ?

I wonder since the change if I make in one file instantaneously gets reflected on the docker container, then why dont the bower components / files aren't replicated or found on the docker container ?

Heres the list of packages fond inside the container.

image

on Container the bower.json file is correct.

image

Here's bower.json

{ "name": "meanjs", "description": "Fullstack JavaScript with MongoDB, Express, AngularJS, and Node.js.", "homepage": "http://meanjs.org/", "license": "MIT", "dependencies": { "angular": "~1.5.0", "angular-animate": "~1.5.0", "angular-bootstrap": "~1.2.1", "angular-messages": "~1.5.0", "angular-mocks": "~1.5.0", "angular-resource": "~1.5.0", "angular-ui-notification": "~0.2.0", "angular-ui-router": "~0.2.18", "bootstrap": "~3.3.6", "ng-file-upload": "^12.1.0", "ng-img-crop": "ngImgCrop#^0.3.2", "owasp-password-strength-test": "~1.3.0", "underscore": "^1.8.3", "angular-material": "^1.1.1", "angular-material-data-table": "^0.10.9", "material-design-icons": "^3.0.1", "angular-moment": "^1.0.0", "angular-aria": "^1.5.8" }, "overrides": { "bootstrap": { "main": [ "dist/css/bootstrap.css", "dist/css/bootstrap-theme.css", "less/bootstrap.less" ] }, "jquery": { "main": [] } } }

PManager1 commented 7 years ago

for some reason it wasn't updating the contents, so i removed all the docker containers and images too. Now it works. Im new to docker stuff. Can you guys please change the docker file in such a way that it makes sure this error dont happen for others ?