Browse Source

Add the Dockerfile.

Wesley Tsai 8 years ago
parent
commit
8d83ed2d56
1 changed files with 12 additions and 0 deletions
  1. 12 0
      Dockerfile

+ 12 - 0
Dockerfile

@@ -0,0 +1,12 @@
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", "&"]