BrickUp API Service for Docker version.

Dockerfile 357B

12345678910111213
  1. FROM ubuntu:14.04
  2. RUN apt-get update && apt-get install -y git curl vim arduino-core arduino-mk
  3. RUN curl -sL https://deb.nodesource.com/setup_6.x | bash -
  4. RUN apt-get install -y nodejs
  5. RUN node -v
  6. WORKDIR /BrickUp-Docker-API-Service
  7. COPY . .
  8. RUN npm i
  9. WORKDIR libs/Builderlibrary/
  10. RUN npm i
  11. WORKDIR /BrickUp-Docker-API-Service/
  12. CMD ["node", "app.js", "&"]