10 lines
270 B

FROM node:7.3.0
RUN mkdir /code
WORKDIR /code
ADD ./bikeshop_project/package.json package.json
RUN npm install
RUN npm install -g bower
ADD ./bikeshop_project/.bowerrc .bowerrc
ADD ./bikeshop_project/bower.json bower.json
RUN bower install --allow-root
EXPOSE 3000:3000