blob: a3fd84553d59a5003b69a41c0d33441123c7cbfe [file] [log] [blame]
Rohan Patel6f7e46b2019-09-25 14:35:28 -04001FROM node:8.16-alpine
2
3ENV ENV=development
4ENV NAMESPACE=namespace
5ENV APP_NAME=otf-frontend
6ENV APP_VERSION=1.0
7ENV OTF_URL=https://loaclhost:32524/
8ENV OTF_EMAIL=email@email.com
9ENV AUTHENTICATION_SECRET=/ytoYB+iD5HUuDLmeqStcoUPwqw=
10ENV SERVICEAPI_URL=https://localhost:32303/otf/api/
11ENV SERVICEAPI_URIEXECUTETESTINSTANCE=testInstance/execute/v1/id/
12ENV SERVICEAPI_AAFID=username
13ENV SERVICEAPI_AAFPASSWORD=password
14ENV CAMUNDAAPI_URL=https://localhost:31313/
15ENV CAMUNDAAPI_AAFID=username
16ENV CAMUNDAAPI_AAFPASSWORD=password
17ENV MONGO_BASEURL=localhost:27017/
18ENV MONGO_DBOTF=otf
19ENV MONGO_REPLICASET=mongoOTF
20ENV MONGO_USERNAME=username
21ENV MONGO_PASSWORD=password
22
23COPY . /home/node
24WORKDIR /home/node
25
26RUN mkdir -p /otf/logs
27
28RUN npm install --unsafe-perm
29RUN npm run-script build
30
31ENTRYPOINT [ "npm", "start" ]