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