Kaynağa Gözat

Add the Dockerfile.

Wesley Tsai 7 yıl önce
ebeveyn
işleme
8d83ed2d56
1 değiştirilmiş dosya ile 12 ekleme ve 0 silme
  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", "&"]