diff --git a/Dockerfile b/Dockerfile index 089a9e301c..87e6d8cd9d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -64,15 +64,15 @@ WORKDIR /opt/mean.js # and install node_modules/ everytime we build the docker, but only # when the local package.json file changes. # Install npm packages -ADD package.json /opt/mean.js/package.json +COPY package.json /opt/mean.js/package.json RUN npm install --quiet && npm cache clean # Install bower packages -ADD bower.json /opt/mean.js/bower.json -ADD .bowerrc /opt/mean.js/.bowerrc +COPY bower.json /opt/mean.js/bower.json +COPY .bowerrc /opt/mean.js/.bowerrc RUN bower install --quiet --allow-root --config.interactive=false -ADD . /opt/mean.js +COPY . /opt/mean.js # Run MEAN.JS server CMD ["npm", "start"]