# ============LICENSE_START=======================================================
-# Copyright (c) 2019 AT&T Intellectual Property. All rights reserved.
+# Copyright (c) 2019,2022 AT&T Intellectual Property. All rights reserved.
+# Copyright 2020 Deutsche Telekom. 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.
# See the License for the specific language governing permissions and
# limitations under the License.
# ============LICENSE_END=========================================================
-FROM python:3.7-alpine
+FROM nexus3.onap.org:10001/onap/integration-python:9.1.0
-COPY . /code
-WORKDIR /code
+COPY --chown=onap:onap . /app
RUN pip install .
-EXPOSE 80
+EXPOSE 8080
ENV DISTRIBUTOR_DEBUG=0
+ENV PATH="$PATH:/home/onap/.local/bin"
CMD start-distributor-api