FROM  ubuntu:14.04
RUN apt-get update && apt-get install -y git curl vim arduino-core arduino-mk
RUN curl -sL https://deb.nodesource.com/setup_6.x | bash -
RUN apt-get install -y nodejs
RUN node -v
WORKDIR /BrickUp-Docker-API-Service
COPY . .
RUN npm i
WORKDIR libs/BuilderLibrary/
RUN npm i
WORKDIR /BrickUp-Docker-API-Service/
CMD ["node", "app.js", "&"]