summaryrefslogtreecommitdiffstats
path: root/components/datalake-handler/admin/Dockerfile
diff options
context:
space:
mode:
authorVijay Venkatesh Kumar <vv770d@att.com>2022-09-14 14:50:09 +0000
committerVijay Venkatesh Kumar <vv770d@att.com>2022-09-14 20:04:58 +0000
commit04610eb4713c238509e304c31f2d1cf09a4147dc (patch)
treeea4a3f0abc48c4e3f136f6f01f4407ff00692d9e /components/datalake-handler/admin/Dockerfile
parent3a0de968e2c5a32a2fa43f791c78455db1c3e641 (diff)
[Datalake/Admin] Fix build issues related to npm
Change-Id: I97a92f09e82320b1a4abfe820709baa98443b286 Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com> Issue-ID: DCAEGEN2-3004 Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com>
Diffstat (limited to 'components/datalake-handler/admin/Dockerfile')
-rw-r--r--components/datalake-handler/admin/Dockerfile21
1 files changed, 21 insertions, 0 deletions
diff --git a/components/datalake-handler/admin/Dockerfile b/components/datalake-handler/admin/Dockerfile
index 6237741a..4c659598 100644
--- a/components/datalake-handler/admin/Dockerfile
+++ b/components/datalake-handler/admin/Dockerfile
@@ -1,9 +1,30 @@
+# ============LICENSE_START=======================================================
+# Copyright (c) 2019 QCT. All rights reserved.
+# Copyright (c) 2022 AT&T. All rights reserved.
+# ================================================================================
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+# SPDX-License-Identifier: Apache-2.0
+# ============LICENSE_END=========================================================
+
FROM node:alpine AS builder
MAINTAINER Ekko Chang <ekko.chang@qct.io>
LABEL org.label-schema.docker.build="docker build -t dl-admin . --no-cache" \
org.label-schema.docker.run="docker run -p 80:80 --add-host=dl_feeder:your_feeder_ipaddress dl-admin"
+ENV NODE_OPTIONS "--openssl-legacy-provider"
+
WORKDIR /app
COPY ./src .
COPY ./nginx .