Upgrade node and npm versions in docker image
Upgrade node and npm versions in docker image

Change-Id: I0005623ee10b643bd639a8b674cc1522591f276c

FROM    ubuntu
# Author / Maintainer
MAINTAINER Silkroad Team <support-silkroad@bq.com>

# Update repository
RUN apt-get update

# Install dependencies
RUN apt-get -y install curl
RUN curl -sL https://deb.nodesource.com/setup | sudo bash -

# Install nodejs
RUN apt-get -y install nodejs git git-core

# Copy app source
COPY . /src

# Install dev dependencies
RUN cd /src; npm install

# Expose port
EXPOSE  3000

# Enable corbel-composer
CMD cd /src; npm start