added svcapi ui and camunda code
[it/otf.git] / otf-frontend / Dockerfile
diff --git a/otf-frontend/Dockerfile b/otf-frontend/Dockerfile
new file mode 100644 (file)
index 0000000..a3fd845
--- /dev/null
@@ -0,0 +1,31 @@
+FROM node:8.16-alpine\r
+\r
+ENV ENV=development\r
+ENV NAMESPACE=namespace\r
+ENV APP_NAME=otf-frontend\r
+ENV APP_VERSION=1.0\r
+ENV OTF_URL=https://loaclhost:32524/\r
+ENV OTF_EMAIL=email@email.com\r
+ENV AUTHENTICATION_SECRET=/ytoYB+iD5HUuDLmeqStcoUPwqw=\r
+ENV SERVICEAPI_URL=https://localhost:32303/otf/api/\r
+ENV SERVICEAPI_URIEXECUTETESTINSTANCE=testInstance/execute/v1/id/\r
+ENV SERVICEAPI_AAFID=username\r
+ENV SERVICEAPI_AAFPASSWORD=password\r
+ENV CAMUNDAAPI_URL=https://localhost:31313/\r
+ENV CAMUNDAAPI_AAFID=username\r
+ENV CAMUNDAAPI_AAFPASSWORD=password\r
+ENV MONGO_BASEURL=localhost:27017/\r
+ENV MONGO_DBOTF=otf\r
+ENV MONGO_REPLICASET=mongoOTF\r
+ENV MONGO_USERNAME=username\r
+ENV MONGO_PASSWORD=password\r
+\r
+COPY . /home/node\r
+WORKDIR /home/node\r
+\r
+RUN mkdir -p /otf/logs\r
+\r
+RUN npm install --unsafe-perm\r
+RUN npm run-script build\r
+\r
+ENTRYPOINT [ "npm", "start" ]\r