1 # Copyright (c) 2019 AT&T Intellectual Property. #
\r
3 # Licensed under the Apache License, Version 2.0 (the "License"); #
\r
4 # you may not use this file except in compliance with the License. #
\r
5 # You may obtain a copy of the License at #
\r
7 # http://www.apache.org/licenses/LICENSE-2.0 #
\r
9 # Unless required by applicable law or agreed to in writing, software #
\r
10 # distributed under the License is distributed on an "AS IS" BASIS, #
\r
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
\r
12 # See the License for the specific language governing permissions and #
\r
13 # limitations under the License. #
\r
14 ################################################################################
\r
15 FROM node:8.16-alpine
\r
18 ENV NAMESPACE=namespace
\r
19 ENV APP_NAME=otf-frontend
\r
21 ENV OTF_URL=https://loaclhost:32524/
\r
22 ENV OTF_EMAIL=email@email.com
\r
23 ENV AUTHENTICATION_SECRET=/ytoYB+iD5HUuDLmeqStcoUPwqw=
\r
24 ENV SERVICEAPI_URL=https://localhost:32303/otf/api/
\r
25 ENV SERVICEAPI_URIEXECUTETESTINSTANCE=testInstance/execute/v1/id/
\r
26 ENV SERVICEAPI_AAFID=username
\r
27 ENV SERVICEAPI_AAFPASSWORD=password
\r
28 ENV CAMUNDAAPI_URL=https://localhost:31313/
\r
29 ENV CAMUNDAAPI_AAFID=username
\r
30 ENV CAMUNDAAPI_AAFPASSWORD=password
\r
31 ENV MONGO_BASEURL=localhost:27017/
\r
33 ENV MONGO_REPLICASET=rs0
\r
34 ENV MONGO_USERNAME=username
\r
35 ENV MONGO_PASSWORD=password
\r
40 RUN mkdir -p /otf/logs
\r
42 RUN npm install --unsafe-perm
\r
43 RUN npm run-script build
\r
45 ENTRYPOINT [ "npm", "start" ]
\r